org.tigris.subversion.svnclientadapter
Class SVNStatusKind

java.lang.Object
  extended by org.tigris.subversion.svnclientadapter.SVNStatusKind

public class SVNStatusKind
extends java.lang.Object

Base class for enumerating the possible types for a Status.


Field Summary
static SVNStatusKind ADDED
          is scheduled for addition
static SVNStatusKind CONFLICTED
          local mods received conflicting repos mods
static SVNStatusKind DELETED
          scheduled for deletion
static SVNStatusKind EXTERNAL
          an unversioned path populated by an svn:external property
static SVNStatusKind IGNORED
          a resource marked as ignored
static SVNStatusKind INCOMPLETE
          a directory doesn't contain a complete entries list
static SVNStatusKind MERGED
          local mods received repos mods
static SVNStatusKind MISSING
          under v.c., but is missing
static SVNStatusKind MODIFIED
          text or props have been modified
static SVNStatusKind NONE
          does not exist
static SVNStatusKind NORMAL
          exists, but uninteresting.
static SVNStatusKind OBSTRUCTED
          an unversioned resource is in the way of the versioned resource
static SVNStatusKind REPLACED
          was deleted and then re-added
static SVNStatusKind UNVERSIONED
          is not a versioned thing in this wc
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static SVNStatusKind fromInt(int kind)
          Returns the SVNStatusKind corresponding to the given int representation.
static SVNStatusKind fromString(java.lang.String kind)
          returns the SVNStatusKind corresponding to the given string or null
 int hashCode()
           
 boolean hasTreeConflict()
           
 void setTreeConflicted(boolean treeConflicted)
           
 int toInt()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final SVNStatusKind NONE
does not exist


NORMAL

public static final SVNStatusKind NORMAL
exists, but uninteresting.


ADDED

public static final SVNStatusKind ADDED
is scheduled for addition


MISSING

public static final SVNStatusKind MISSING
under v.c., but is missing


INCOMPLETE

public static final SVNStatusKind INCOMPLETE
a directory doesn't contain a complete entries list


DELETED

public static final SVNStatusKind DELETED
scheduled for deletion


REPLACED

public static final SVNStatusKind REPLACED
was deleted and then re-added


MODIFIED

public static final SVNStatusKind MODIFIED
text or props have been modified


MERGED

public static final SVNStatusKind MERGED
local mods received repos mods


CONFLICTED

public static final SVNStatusKind CONFLICTED
local mods received conflicting repos mods


OBSTRUCTED

public static final SVNStatusKind OBSTRUCTED
an unversioned resource is in the way of the versioned resource


IGNORED

public static final SVNStatusKind IGNORED
a resource marked as ignored


EXTERNAL

public static final SVNStatusKind EXTERNAL
an unversioned path populated by an svn:external property


UNVERSIONED

public static final SVNStatusKind UNVERSIONED
is not a versioned thing in this wc

Method Detail

toInt

public int toInt()
Returns:
an integer value representation of the statusKind

setTreeConflicted

public void setTreeConflicted(boolean treeConflicted)

hasTreeConflict

public boolean hasTreeConflict()

fromInt

public static SVNStatusKind fromInt(int kind)
Returns the SVNStatusKind corresponding to the given int representation. (As returned by toInt() method)

Parameters:
kind -
Returns:
SVNStatusKind representing the int value

fromString

public static SVNStatusKind fromString(java.lang.String kind)
returns the SVNStatusKind corresponding to the given string or null

Parameters:
kind -
Returns:
SVNStatusKind representing the supplied string value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object