|
||||||||||
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.watch.WatchCommand
public class WatchCommand
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 | |
---|---|
WatchCommand()
Construct a new WatchCommand. |
Method Summary | |
---|---|
void |
commandTerminated(TerminationEvent e)
If a builder was set-up, it's outputDone() method is called. |
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()
Returns how this command would look like when typed on the command line. |
java.lang.String |
getOptString()
String returned by this method defines which options are available for this command. |
Watch |
getWatch()
Returns the watch. |
WatchMode |
getWatchMode()
Returns the WatchMode. |
void |
resetCVSCommand()
Resets all switches in this command. |
boolean |
setCVSCommand(char opt,
java.lang.String optArg)
Uses the specified argument to set the appropriate properties. |
void |
setWatch(Watch watch)
Sets the watch. |
void |
setWatchMode(WatchMode watchMode)
Sets the WatchMode. |
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 |
---|
createBuilder, isBuilderSet, messageSent, messageSent, setBuilder |
Methods inherited from class org.netbeans.lib.cvsclient.command.Command |
---|
clone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, moduleExpanded, setDisplayName, setLocalDirectory |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WatchCommand()
Method Detail |
---|
public void execute(ClientServices client, EventManager eventManager) throws CommandException, AuthenticationException
execute
in class BasicCommand
client
- the client services object that provides any necessary
services to this command, including the ability to actually
process all the requestseventManager
- the EventManager used for sending events
java.lang.IllegalStateException
- if the commands options aren't set correctly
AuthenticationException
- if the connection could not be established
CommandException
- if some other thing gone wrongpublic void commandTerminated(TerminationEvent e)
commandTerminated
in interface CVSListener
commandTerminated
in class BuildableCommand
public boolean setCVSCommand(char opt, java.lang.String optArg)
setCVSCommand
in class Command
public java.lang.String getOptString()
getOptString
in class Command
public void resetCVSCommand()
resetCVSCommand
in class Command
public java.lang.String getCVSCommand()
getCVSCommand
in class Command
public java.lang.String getCVSArguments()
getCVSArguments
in class Command
public WatchMode getWatchMode()
public void setWatchMode(WatchMode watchMode)
public Watch getWatch()
public void setWatch(Watch watch)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |