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.

Author:
Milos Kleint

Nested Class Summary
static class WatchersInformation.Watcher
          Inner class that holds information about single user and his watches on the file.
 
Field Summary
static String WATCH_COMMIT
           
static String WATCH_EDIT
           
static String WATCH_TEMP_COMMIT
           
static String WATCH_TEMP_EDIT
           
static String WATCH_TEMP_UNEDIT
           
static String WATCH_UNEDIT
           
 
Constructor Summary
WatchersInformation(File file)
          Creates new istance of the WatchersInformation class.
 
Method Summary
 File getFile()
          Getter for file concerned in this instance.
 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 String WATCH_EDIT
See Also:
Constant Field Values

WATCH_UNEDIT

public static final String WATCH_UNEDIT
See Also:
Constant Field Values

WATCH_COMMIT

public static final String WATCH_COMMIT
See Also:
Constant Field Values

WATCH_TEMP_EDIT

public static final String WATCH_TEMP_EDIT
See Also:
Constant Field Values

WATCH_TEMP_UNEDIT

public static final String WATCH_TEMP_UNEDIT
See Also:
Constant Field Values

WATCH_TEMP_COMMIT

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

WatchersInformation

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

Method Detail

getFile

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

Specified by:
getFile in class FileInfoContainer

getWatchersIterator

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



Copyright © 2011. All Rights Reserved.