public class LogExport extends Object
Modifier and Type | Field and Description |
---|---|
protected static Timestamp |
start |
protected static Timestamp |
stop |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
getParams(String[] args)
Parses command line arguments
|
protected static boolean |
initialize(String[] args)
Verifies command line arguments and initialize internals (mainly config)
|
static void |
main(String[] args)
Command Entry point
|
protected static String |
run()
Main logic for the command.
|
static boolean |
setDestinationWriter()
Creates and sets destinationWriter according to the following logic based
on the value of the '-out'
command line argument: - if no value is given, a default path is computed
(the same as online export, i.e.
|
protected static boolean initialize(String[] args)
args
- command line argumentspublic static boolean setDestinationWriter()
protected static boolean getParams(String[] args)
args
- command line arguments to parseprotected static String run()
public static void main(String[] args)
args
- command line argumentsCopyright © 2009–2020 Waarp. All rights reserved.