public class status
extends java.lang.Object
| Constructor and Description |
|---|
status() |
| Modifier and Type | Method and Description |
|---|---|
Command |
createCommand(java.lang.String[] args,
int index,
GlobalOptions gopt,
java.lang.String workDir)
Create the CVS command from an array of arguments.
|
java.lang.String |
getName()
Get the name of this command.
|
java.lang.String[] |
getSynonyms()
Get the list of synonyms of names of this command.
|
java.lang.String |
getUsage()
Get a short string describibg the usage of the command.
|
void |
printLongDescription(java.io.PrintStream out)
Print a long help description (multi-line with all supported switches
and their description) of this command to the provided print stream.
|
void |
printShortDescription(java.io.PrintStream out)
Print a short help description (one-line only) for this command to the
provided print stream.
|
public java.lang.String[] getSynonyms()
CommandProviderpublic Command createCommand(java.lang.String[] args, int index, GlobalOptions gopt, java.lang.String workDir)
CommandProviderargs - The array of arguments passed to the command.index - The index in the array where the command's arguments start.workDir - The working directory.Command
class, which have set the passed arguments.public java.lang.String getName()
getName in interface CommandProviderpublic java.lang.String getUsage()
CommandProvidergetUsage in interface CommandProviderpublic void printShortDescription(java.io.PrintStream out)
CommandProviderprintShortDescription in interface CommandProviderout - The print stream.public void printLongDescription(java.io.PrintStream out)
CommandProviderprintLongDescription in interface CommandProviderout - The print stream.