|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.client.Executable
edu.isi.pegasus.planner.client.NetloggerExitcode
public class NetloggerExitcode
This parses the kickstart records and logs via Log4j the kickstart record in the Netlogger Format.
| Field Summary | |
|---|---|
private String |
mFilename
The kickstart file being parsed. |
private String |
mJobID
The id of the job. |
private int |
mLoggingLevel
The logging level to be used. |
private String |
mWorkflowID
The workflow id. |
| Fields inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
mLogger, mLogMsg, mProps, mVersion |
| Constructor Summary | |
|---|---|
NetloggerExitcode()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
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 NetloggerExitCode object |
void |
loadProperties()
Loads all the properties that would be needed by the Toolkit classes. |
void |
log(String msg,
int level)
Logs messages to the logger. |
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. |
protected void |
setupLogging()
Sets up the logging options for this class. |
| Methods inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, lookupConfProperty, sanityCheckOnProperties, setupLogging |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int mLoggingLevel
private String mFilename
private String mJobID
private String mWorkflowID
| Constructor Detail |
|---|
public NetloggerExitcode()
| Method Detail |
|---|
public void initialize(String[] opts)
initialize in class Executableopts - the command line argument passed to the NetloggerExitCodepublic static void main(String[] args)
args - the main arguments passed to the plotter.protected void setupLogging()
public int 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 void log(String msg,
int level)
log in class Executablemsg - is the message itself.level - is the level to generate the log message for.public gnu.getopt.LongOpt[] generateValidOptions()
generateValidOptions in class ExecutableLongOpt objects , corresponding to the valid
optionspublic void printShortVersion()
printShortVersion in class Executablepublic void printLongVersion()
printLongVersion in class Executablepublic void loadProperties()
loadProperties in class Executable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||