org.netbeans.lib.cvsclient.command.watch
Class WatchMode

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.watch.WatchMode

public class WatchMode
extends java.lang.Object


Field Summary
static WatchMode ADD
          This is the WatchMode that adds watching for the specified Watch.
static WatchMode OFF
          This is the WatchMode that disables watching.
static WatchMode ON
          This is the WatchMode that enables watching.
static WatchMode REMOVE
          This is the WatchMode that removes watching for the specified Watch.
 
Method Summary
 CommandRequest getCommand()
          Returns the CommandRequest that is used when executing the WatchCommand with this WatchMode.
 boolean isWatchOptionAllowed()
          Indicated, whether a non-null watch-option is allowed in the WatchCommand.
 java.lang.String toString()
          Returns the name of this WatchMode ("on", "off", "add", "remove").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ON

public static final WatchMode ON
This is the WatchMode that enables watching.


OFF

public static final WatchMode OFF
This is the WatchMode that disables watching.


ADD

public static final WatchMode ADD
This is the WatchMode that adds watching for the specified Watch.


REMOVE

public static final WatchMode REMOVE
This is the WatchMode that removes watching for the specified Watch.

Method Detail

getCommand

public CommandRequest getCommand()
Returns the CommandRequest that is used when executing the WatchCommand with this WatchMode.


isWatchOptionAllowed

public boolean isWatchOptionAllowed()
Indicated, whether a non-null watch-option is allowed in the WatchCommand.


toString

public java.lang.String toString()
Returns the name of this WatchMode ("on", "off", "add", "remove").

Overrides:
toString in class java.lang.Object

 

Built on October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.