| java.lang.Object org.netbeans.lib.cvsclient.command.Command org.netbeans.lib.cvsclient.command.BuildableCommand org.netbeans.lib.cvsclient.command.BasicCommand org.netbeans.lib.cvsclient.command.watch.WatchCommand
Constructor Summary | |
public | WatchCommand() Construct a new WatchCommand. |
WatchCommand | public WatchCommand()(Code) | | Construct a new WatchCommand.
|
commandTerminated | public void commandTerminated(TerminationEvent e)(Code) | | If a builder was set-up, it's outputDone() method is called.
This method is called, when the server responses with "ok" or "error"
(== when the command finishes).
|
getCVSArguments | public String getCVSArguments()(Code) | | Returns the arguments of the command in the command-line style.
Similar to getCVSCommand() however without the files and command's name
|
getCVSCommand | public String getCVSCommand()(Code) | | Returns how this command would look like when typed on the command line.
|
getOptString | public String getOptString()(Code) | | String returned by this method defines which options are available for
this command.
|
getWatch | public Watch getWatch()(Code) | | Returns the watch.
|
resetCVSCommand | public void resetCVSCommand()(Code) | | Resets all switches in this command.
After calling this method, the command behaves like newly created.
|
setCVSCommand | public boolean setCVSCommand(char opt, String optArg)(Code) | | Uses the specified argument to set the appropriate properties.
To be mainly used for automatic settings (like parsing the .cvsrc file)
whether the option (switch) was recognized and set |
setWatch | public void setWatch(Watch watch)(Code) | | Sets the watch.
If the WatchMode ADD or REMOVE is used, null is the same as Watch.ALL.
If the WatchMode ON or OFF is used, this option isn't used at all.
|
setWatchMode | public void setWatchMode(WatchMode watchMode)(Code) | | Sets the WatchMode.
|
Fields inherited from org.netbeans.lib.cvsclient.command.Command | protected String localDirectory(Code)(Java Doc)
|
|
|