public class locbundlecheck extends CVSAdapter implements CommandProvider
Constructor and Description |
---|
locbundlecheck()
A constructor that is used to create the CommandProvider.
|
Modifier and Type | Method and Description |
---|---|
void |
commandTerminated(TerminationEvent e)
called when server responses with "ok" or "error", (when the command
finishes)
|
Command |
createCommand(String[] args,
int index,
GlobalOptions gopt,
String workDir)
Create the CVS command from an array of arguments.
|
void |
fileInfoGenerated(FileInfoEvent e)
Called when file status information has been received
|
String |
getName()
Get the name of this command.
|
String[] |
getSynonyms()
Get the list of synonyms of names of this command.
|
String |
getUsage()
Get a short string describibg the usage of the command.
|
void |
printLongDescription(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(PrintStream out)
Print a short help description (one-line only) for this command to the
provided print stream.
|
fileAdded, fileRemoved, fileToRemove, fileUpdated, messageSent, messageSent, moduleExpanded
public locbundlecheck()
public String getName()
CommandProvider
getName
in interface CommandProvider
public String[] getSynonyms()
CommandProvider
getSynonyms
in interface CommandProvider
public String getUsage()
CommandProvider
getUsage
in interface CommandProvider
public void printShortDescription(PrintStream out)
CommandProvider
printShortDescription
in interface CommandProvider
out
- The print stream.public void printLongDescription(PrintStream out)
CommandProvider
printLongDescription
in interface CommandProvider
out
- The print stream.public Command createCommand(String[] args, int index, GlobalOptions gopt, String workDir)
CommandProvider
createCommand
in interface CommandProvider
args
- 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 void fileInfoGenerated(FileInfoEvent e)
CVSAdapter
fileInfoGenerated
in interface CVSListener
fileInfoGenerated
in class CVSAdapter
public void commandTerminated(TerminationEvent e)
CVSAdapter
commandTerminated
in interface CVSListener
commandTerminated
in class CVSAdapter
Copyright © 2016. All rights reserved.