private static interface Test.Operation
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
return the name of the operation
|
Test.Command |
parse(Test.Arguments args,
java.io.PrintWriter pw)
create a command from the arguments; note that in case of errors,
no help shall be printed (i.e. call to
printHelp(java.io.PrintWriter) |
void |
printHelp(java.io.PrintWriter pw)
print the help for the operation; the output shall not exceed
80 characters per line
|
java.lang.String getName()
void printHelp(java.io.PrintWriter pw)
pw
- the print writer to useTest.Command parse(Test.Arguments args, java.io.PrintWriter pw)
printHelp(java.io.PrintWriter)
args
- the argumentspw
- the print writer to use for error outputnull
if the arguments
could not be parsedCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH