org.netbeans.lib.cvsclient.file
Class FileStatus

java.lang.Object
  extended by org.netbeans.lib.cvsclient.file.FileStatus

public class FileStatus
extends java.lang.Object

This class provides constants for file statuses.


Field Summary
static FileStatus ADDED
          The Added status, i.e.
static FileStatus HAS_CONFLICTS
          The "conflicts" status, i.e.
static FileStatus INVALID
          The entry is invalid, appropriate file in CVS repository can not be found.
static FileStatus MODIFIED
          The locally modified status, i.e.
static FileStatus NEEDS_CHECKOUT
          The "needs checkout" status, i.e.
static FileStatus NEEDS_MERGE
          The "needs merge" status, i.e.
static FileStatus NEEDS_PATCH
          The "needs patch" status, i.e.
static FileStatus REMOVED
          The Removed status, i.e.
static FileStatus UNKNOWN
          The unknown status, i.e.
static FileStatus UNRESOLVED_CONFLICT
          A file with the same name as this new file has been added to the repository from a second workspace.
static FileStatus UP_TO_DATE
          The up-to-date status, i.e.
 
Method Summary
static FileStatus getStatusForString(java.lang.String statusString)
          Returns the corresponding FileStatus constant for the specified String.
 java.lang.String toString()
          Returns the String representation for thiz.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDED

public static final FileStatus ADDED
The Added status, i.e. the file has been added to the repository but not committed yet.


REMOVED

public static final FileStatus REMOVED
The Removed status, i.e. the file has been removed from the repository but not committed yet


MODIFIED

public static final FileStatus MODIFIED
The locally modified status, i.e. the file has been modified locally and is out of sync with the repository


UP_TO_DATE

public static final FileStatus UP_TO_DATE
The up-to-date status, i.e. the file is in sync with the repository


NEEDS_CHECKOUT

public static final FileStatus NEEDS_CHECKOUT
The "needs checkout" status, i.e. the file is out of sync with the repository and needs to be updated


NEEDS_PATCH

public static final FileStatus NEEDS_PATCH
The "needs patch" status, i.e. the file is out of sync with the repository and needs to be patched


NEEDS_MERGE

public static final FileStatus NEEDS_MERGE
The "needs merge" status, i.e. the file is locally modified and the file in the repository has been modified too


HAS_CONFLICTS

public static final FileStatus HAS_CONFLICTS
The "conflicts" status, i.e. the file has been merged and now has conflicts that need resolved before it can be checked-in


UNRESOLVED_CONFLICT

public static final FileStatus UNRESOLVED_CONFLICT
A file with the same name as this new file has been added to the repository from a second workspace. This file will need to be moved out of the way to allow an update to complete.


UNKNOWN

public static final FileStatus UNKNOWN
The unknown status, i.e. the file is not known to the CVS repository.


INVALID

public static final FileStatus INVALID
The entry is invalid, appropriate file in CVS repository can not be found.

Method Detail

getStatusForString

public static FileStatus getStatusForString(java.lang.String statusString)
Returns the corresponding FileStatus constant for the specified String.


toString

public java.lang.String toString()
Returns the String representation for thiz.

Overrides:
toString in class java.lang.Object

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.