public enum Depth extends Enum<Depth>
Depth defines the recursion level for the listing call #list(Resource, Revision, Depth)| Enum Constant and Description |
|---|
EMPTY
only list the resources itself, no sub-resources
|
FILES
only list all direct file sub-resources
|
IMMEDIATES
only list all direct sub-resources (files and directories)
|
INFINITY
recursively list all sub-resources (files and directories)
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final Depth EMPTY
public static final Depth FILES
public static final Depth IMMEDIATES
public static final Depth INFINITY
public final String value
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 nameNullPointerException - if the argument is nullCopyright © 2013–2014 shadowhunt. All rights reserved.