|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRunScript
public class RunScript
This class defines a specialized SLAMD client that may be used to execute SLAMD scripts without the need for a SLAMD server to be running and without the need for a configuration file as would be used by the standalone client.
| Constructor Summary | |
|---|---|
RunScript(java.lang.String[] args)
Create a new standalone client instance, process the configuration, and run the specified job. |
|
| Method Summary | |
|---|---|
void |
displayUsage()
Writes usage information for this program to standard error. |
static void |
main(java.lang.String[] args)
Create a new standalone client instance and pass all the arguments to it. |
boolean |
usingVerboseMode()
Indicates whether the message writer is using verbose mode and therefore will display messages written with the writeVerbose method. |
void |
writeMessage(java.lang.String message)
Writes information logged during job processing to standard output. |
void |
writeVerbose(java.lang.String message)
Writes verbose information logged during job processing to standard output (if verbose logging is enabled). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunScript(java.lang.String[] args)
args - The set of arguments provided on the command line.| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The set of arguments provided on the command line.public void displayUsage()
public void writeMessage(java.lang.String message)
writeMessage in interface ClientMessageWritermessage - The message to be written to standard output.public void writeVerbose(java.lang.String message)
writeVerbose in interface ClientMessageWritermessage - The message to be written to standard output.public boolean usingVerboseMode()
writeVerbose method.
usingVerboseMode in interface ClientMessageWritertrue if the message writer is using verbose mode, or
false if not.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||