|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.lib.cvsclient.command.Command
org.netbeans.lib.cvsclient.command.BuildableCommand
org.netbeans.lib.cvsclient.command.BasicCommand
org.netbeans.lib.cvsclient.command.watchers.WatchersCommand
The watchers command looks up who is watching this file, who is interested in it.
| Field Summary |
| Fields inherited from class org.netbeans.lib.cvsclient.command.BasicCommand |
clientServices, files, requests |
| Fields inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
builder |
| Fields inherited from class org.netbeans.lib.cvsclient.command.Command |
localDirectory |
| Constructor Summary | |
WatchersCommand()
Construct a new watchers command. |
|
| Method Summary | |
void |
commandTerminated(TerminationEvent e)
called when server responses with "ok" or "error", (when the command finishes) |
Builder |
createBuilder(EventManager eventManager)
Creates and returns the WatchersBuilder. |
void |
execute(ClientServices client,
EventManager eventManager)
Executes this command. |
java.lang.String |
getCVSArguments()
Returns the arguments of the command in the command-line style. |
java.lang.String |
getCVSCommand()
This method returns how the command would looklike when typed on the command line. |
java.lang.String |
getOptString()
String returned by this method defines which options are available for this particular command |
void |
resetCVSCommand()
resets all switches in the command. |
boolean |
setCVSCommand(char opt,
java.lang.String optArg)
takes the arguments and sets the command. |
| Methods inherited from class org.netbeans.lib.cvsclient.command.BasicCommand |
addArgumentRequest, addArgumentRequests, addDirectoryRequest, addRequest, addRequestForFile, addRequestForWorkingDirectory, addRequestsForDirectory, addRequestsForFile, appendFileArguments, assumeLocalPathWhenUnspecified, doesCheckFileTime, getFileEndingWith, getFiles, getRecursive, getXthFile, isRecursive, sendEntryAndModifiedRequests, setFiles, setRecursive |
| Methods inherited from class org.netbeans.lib.cvsclient.command.BuildableCommand |
isBuilderSet, messageSent, setBuilder |
| Methods inherited from class org.netbeans.lib.cvsclient.command.Command |
clone, fileAdded, fileInfoGenerated, fileRemoved, fileUpdated, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, messageSent, moduleExpanded, setLocalDirectory |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WatchersCommand()
| Method Detail |
public Builder createBuilder(EventManager eventManager)
createBuilder in class BuildableCommand
public void execute(ClientServices client,
EventManager eventManager)
throws CommandException,
AuthenticationException
execute in class BasicCommandclient - the client services object that provides any necessary
services to this command, including the ability to actually
process all the requests
CommandException - if an error occurs executing the command
AuthenticationExceptionpublic void commandTerminated(TerminationEvent e)
commandTerminated in interface CVSListenercommandTerminated in class BuildableCommandpublic java.lang.String getCVSCommand()
getCVSCommand in class Command
public boolean setCVSCommand(char opt,
java.lang.String optArg)
setCVSCommand in class Commandpublic java.lang.String getOptString()
getOptString in class Commandpublic void resetCVSCommand()
resetCVSCommand in class Commandpublic java.lang.String getCVSArguments()
getCVSArguments in class Command
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||