Enum Depth
java.lang.Object
java.lang.Enum<Depth>
org.apache.subversion.javahl.types.Depth
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Depth>,java.lang.constant.Constable
The concept of depth for directories.
Note:
This is similar to, but not exactly the same as, the WebDAV and LDAP
concepts of depth.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJust the named directory D, no entries.Exclude (i.e, don't descend into) directory D.D + its file children, but not subdirs.D + immediate children (D and its entries).D + all descendants (full recursion from D).Depth undetermined or ignored. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final DepthinfinityOrEmpty(boolean recurse) static final DepthinfinityOrFiles(boolean recurse) static final DepthinfinityOrImmediates(boolean recurse) static final DepthunknownOrEmpty(boolean recurse) static final DepthunknownOrFiles(boolean recurse) static final DepthunknownOrImmediates(boolean recurse) static DepthvalueOf(java.lang.String name) Returns the enum constant of this type with the specified name.static Depth[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
unknown
Depth undetermined or ignored. -
exclude
Exclude (i.e, don't descend into) directory D. -
empty
Just the named directory D, no entries. Updates will not pull in any files or subdirectories not already present. -
files
D + its file children, but not subdirs. Updates will pull in any files not already present, but not subdirectories. -
immediates
D + immediate children (D and its entries). Updates will pull in any files or subdirectories not already present; those subdirectories' this_dir entries will have depth-empty. -
infinity
D + all descendants (full recursion from D). Updates will pull in any files or subdirectories not already present; those subdirectories' this_dir entries will have depth-infinity. Equivalent to the pre-1.5 default update behavior.
-
-
Constructor Details
-
Depth
private Depth()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
infinityOrEmpty
-
infinityOrFiles
-
infinityOrImmediates
- Returns:
- A depth value of
infinitywhenrecurseistrue, orimmediatesotherwise.
-
unknownOrEmpty
-
unknownOrFiles
-
unknownOrImmediates
- Returns:
- A depth value of
unknownwhenrecurseistrue, orimmediatesotherwise.
-