public class PlotNodeUsage extends Executable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_OUTPUT_DIR
The default output directory.
|
static String |
DEFAULT_TIMING_SOURCE
The default timing source.
|
private String |
mBasename
The default basename given to the files.
|
private String |
mInputDir
The input directory containing the kickstart records.
|
private int |
mLoggingLevel
The logging level to be used.
|
private String |
mOutputDir
The output directory where to generate the ploticus output.
|
private String |
mTimeUnits
The time units.
|
static String |
TAILSTATD_TIMING_SOURCE
The tailstatd timing source.
|
mLogger, mLogMsg, mProps, mVersion
Constructor and Description |
---|
PlotNodeUsage()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
executeCommand()
Executes the command on the basis of the options specified.
|
gnu.getopt.LongOpt[] |
generateValidOptions()
Tt generates the LongOpt which contain the valid options that the command
will accept.
|
void |
initialize(String[] opts)
Initialize the PlotNodeUsage object
|
void |
loadProperties()
Loads all the properties that would be needed by the Toolkit classes.
|
static void |
main(String[] args)
The main program.
|
void |
parseCommandLineArguments(String[] args)
Parses the command line arguments using GetOpt and returns a
PlannerOptions contains all the options passed by the
user at the command line. |
void |
printLongVersion()
Prints the long description, displaying in detail what the various options
to the command stand for.
|
void |
printShortVersion()
Prints out a short description of what the command does.
|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging
public static final String DEFAULT_OUTPUT_DIR
public static final String DEFAULT_TIMING_SOURCE
public static final String TAILSTATD_TIMING_SOURCE
private String mInputDir
private String mOutputDir
private String mBasename
private int mLoggingLevel
private String mTimeUnits
public void initialize(String[] opts)
initialize
in class Executable
opts
- the command line argument passed to the PlotNodeUsagepublic static void main(String[] args)
args
- the main arguments passed to the plotter.public void executeCommand()
args
- the command line options.public void parseCommandLineArguments(String[] args)
PlannerOptions
contains all the options passed by the
user at the command line.args
- the arguments passed by the user at command line.public gnu.getopt.LongOpt[] generateValidOptions()
generateValidOptions
in class Executable
LongOpt
objects , corresponding to the valid
optionspublic void printShortVersion()
printShortVersion
in class Executable
public void printLongVersion()
printLongVersion
in class Executable
public void loadProperties()
loadProperties
in class Executable
Copyright © 2011 The University of Southern California. All Rights Reserved.