org.netbeans.lib.cvsclient.command.watchers
Class WatchersInformation

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.FileInfoContainer
      extended by org.netbeans.lib.cvsclient.command.watchers.WatchersInformation

public class WatchersInformation
extends FileInfoContainer

Describes "cvs watchers" commands' parsed information for a file. The fields in instances of this object are populated by response handlers.


Nested Class Summary
static class WatchersInformation.Watcher
          Inner class that holds information about single user and his watches on the file.
 
Field Summary
static java.lang.String WATCH_COMMIT
           
static java.lang.String WATCH_EDIT
           
static java.lang.String WATCH_TEMP_COMMIT
           
static java.lang.String WATCH_TEMP_EDIT
           
static java.lang.String WATCH_TEMP_UNEDIT
           
static java.lang.String WATCH_UNEDIT
           
 
Constructor Summary
WatchersInformation(java.io.File file)
          Creates new istance of the WatchersInformation class.
 
Method Summary
 java.io.File getFile()
          Getter for file concerned in this instance.
 java.util.Iterator getWatchersIterator()
          Returns the Iterator with WatchersInformation.Watcher instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WATCH_EDIT

public static final java.lang.String WATCH_EDIT
See Also:
Constant Field Values

WATCH_UNEDIT

public static final java.lang.String WATCH_UNEDIT
See Also:
Constant Field Values

WATCH_COMMIT

public static final java.lang.String WATCH_COMMIT
See Also:
Constant Field Values

WATCH_TEMP_EDIT

public static final java.lang.String WATCH_TEMP_EDIT
See Also:
Constant Field Values

WATCH_TEMP_UNEDIT

public static final java.lang.String WATCH_TEMP_UNEDIT
See Also:
Constant Field Values

WATCH_TEMP_COMMIT

public static final java.lang.String WATCH_TEMP_COMMIT
See Also:
Constant Field Values
Constructor Detail

WatchersInformation

public WatchersInformation(java.io.File file)
Creates new istance of the WatchersInformation class.

Method Detail

getFile

public java.io.File getFile()
Getter for file concerned in this instance.

Specified by:
getFile in class FileInfoContainer

getWatchersIterator

public java.util.Iterator getWatchersIterator()
Returns the Iterator with WatchersInformation.Watcher instances. Never returns null.


 

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