|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Depth> org.apache.subversion.javahl.types.Depth
public enum Depth
The concept of depth for directories. Note: This is similar to, but not exactly the same as, the WebDAV and LDAP concepts of depth.
Enum Constant Summary | |
---|---|
empty
Just the named directory D, no entries. |
|
exclude
Exclude (i.e, don't descend into) directory D. |
|
files
D + its file children, but not subdirs. |
|
immediates
D + immediate children (D and its entries). |
|
infinity
D + all descendants (full recursion from D). |
|
unknown
Depth undetermined or ignored. |
Method Summary | |
---|---|
static Depth |
infinityOrEmpty(boolean recurse)
|
static Depth |
infinityOrFiles(boolean recurse)
|
static Depth |
infinityOrImmediates(boolean recurse)
|
static Depth |
unknownOrEmpty(boolean recurse)
|
static Depth |
unknownOrFiles(boolean recurse)
|
static Depth |
unknownOrImmediates(boolean recurse)
|
static Depth |
valueOf(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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Depth unknown
public static final Depth exclude
public static final Depth empty
public static final Depth files
public static final Depth immediates
public static final Depth infinity
Method Detail |
---|
public static Depth[] values()
for (Depth c : Depth.values()) System.out.println(c);
public static Depth valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static final Depth infinityOrEmpty(boolean recurse)
infinity
when
recurse
is true
, or empty
otherwise.public static final Depth infinityOrFiles(boolean recurse)
infinity
when
recurse
is true
, or files
otherwise.public static final Depth infinityOrImmediates(boolean recurse)
infinity
when
recurse
is true
, or immediates
otherwise.public static final Depth unknownOrEmpty(boolean recurse)
unknown
when
recurse
is true
, or empty
otherwise.public static final Depth unknownOrFiles(boolean recurse)
unknown
when
recurse
is true
, or files
otherwise.public static final Depth unknownOrImmediates(boolean recurse)
unknown
when
recurse
is true
, or immediates
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |