Package org.apache.jackrabbit.oak.query
Enum QueryOptions.Traversal
- java.lang.Object
-
- java.lang.Enum<QueryOptions.Traversal>
-
- org.apache.jackrabbit.oak.query.QueryOptions.Traversal
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryOptions.Traversal>
- Enclosing class:
- QueryOptions
public static enum QueryOptions.Traversal extends Enum<QueryOptions.Traversal>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryOptions.Traversal
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryOptions.Traversal[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final QueryOptions.Traversal OK
-
WARN
public static final QueryOptions.Traversal WARN
-
FAIL
public static final QueryOptions.Traversal FAIL
-
DEFAULT
public static final QueryOptions.Traversal DEFAULT
-
-
Method Detail
-
values
public static QueryOptions.Traversal[] 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 (QueryOptions.Traversal c : QueryOptions.Traversal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryOptions.Traversal valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-