Enum ISVNWCDb.SVNWCDbStatus
- java.lang.Object
-
- java.lang.Enum<ISVNWCDb.SVNWCDbStatus>
-
- org.tmatesoft.svn.core.internal.wc17.db.ISVNWCDb.SVNWCDbStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ISVNWCDb.SVNWCDbStatus>
- Enclosing interface:
- ISVNWCDb
public static enum ISVNWCDb.SVNWCDbStatus extends java.lang.Enum<ISVNWCDb.SVNWCDbStatus>
Enumerated values describing the state of a node.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Added
The node has been added (potentially obscuring a delete or move of the BASE node; see BASE_SHADOWED param).BaseDeleted
The BASE node has been marked as deleted.Copied
This node has been added with history, based on the copy source.Deleted
This node has been deleted.Excluded
This node has been administratively excluded.Incomplete
This node is known, but its information is incomplete.MovedHere
This node has been added with history, based on the move source.Normal
The node is present and has no known modifications applied to it.NotPresent
This node is not present in this revision.Obstructed
The information for this directory node is obstructed by something in the local filesystem.ObstructedAdd
The information for this directory node is obstructed by something in the local filesystem.ObstructedDelete
The information for this directory node is obstructed by something in the local filesystem.ServerExcluded
This node was named by the server, but no information was provided.
-
Constructor Summary
Constructors Modifier Constructor Description private
SVNWCDbStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNotPresent()
static ISVNWCDb.SVNWCDbStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ISVNWCDb.SVNWCDbStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final ISVNWCDb.SVNWCDbStatus Normal
The node is present and has no known modifications applied to it.
-
Added
public static final ISVNWCDb.SVNWCDbStatus Added
The node has been added (potentially obscuring a delete or move of the BASE node; see BASE_SHADOWED param). The text will be marked as modified, and if properties exist, they will be marked as modified.In many cases
WCDbStatus#Added
means any of added, moved-here or copied-here. See individual functions for clarification andISVNWCDb.scanAddition(File, AdditionInfoField...)
to get more details.
-
MovedHere
public static final ISVNWCDb.SVNWCDbStatus MovedHere
This node has been added with history, based on the move source. Text and property modifications are based on whether changes have been made against their pristine versions.
-
Copied
public static final ISVNWCDb.SVNWCDbStatus Copied
This node has been added with history, based on the copy source. Text and property modifications are based on whether changes have been made against their pristine versions.
-
Deleted
public static final ISVNWCDb.SVNWCDbStatus Deleted
This node has been deleted. No text or property modifications will be present.
-
Obstructed
public static final ISVNWCDb.SVNWCDbStatus Obstructed
The information for this directory node is obstructed by something in the local filesystem. Full details are not available.This is only returned by an unshadowed BASE node. If a WORKING node is present, then obstructed_delete or obstructed_add is returned as appropriate.
### only used with per-dir .svn subdirectories.
-
ObstructedDelete
public static final ISVNWCDb.SVNWCDbStatus ObstructedDelete
The information for this directory node is obstructed by something in the local filesystem. Full details are not available.The directory has been marked for deletion.
### only used with per-dir .svn subdirectories.
-
ObstructedAdd
public static final ISVNWCDb.SVNWCDbStatus ObstructedAdd
The information for this directory node is obstructed by something in the local filesystem. Full details are not available.The directory has been marked for addition.
### only used with per-dir .svn subdirectories.
-
ServerExcluded
public static final ISVNWCDb.SVNWCDbStatus ServerExcluded
This node was named by the server, but no information was provided.
-
Excluded
public static final ISVNWCDb.SVNWCDbStatus Excluded
This node has been administratively excluded.
-
NotPresent
public static final ISVNWCDb.SVNWCDbStatus NotPresent
This node is not present in this revision. This typically happens when a node is deleted and committed without updating its parent. The parent revision indicates it should be present, but this node's revision states otherwise.
-
Incomplete
public static final ISVNWCDb.SVNWCDbStatus Incomplete
This node is known, but its information is incomplete. Generally, it should be treated similar to the other missing status values until some (later) process updates the node with its data.When the incomplete status applies to a directory, the list of children and the list of its base properties as recorded in the working copy do not match their working copy versions. The update editor can complete a directory by using a different update algorithm.
-
BaseDeleted
public static final ISVNWCDb.SVNWCDbStatus BaseDeleted
The BASE node has been marked as deleted. Only used as an internal status.
-
-
Method Detail
-
values
public static ISVNWCDb.SVNWCDbStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ISVNWCDb.SVNWCDbStatus c : ISVNWCDb.SVNWCDbStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ISVNWCDb.SVNWCDbStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isNotPresent
public boolean isNotPresent()
-
-