Enum FTSParser.Mode
- java.lang.Object
-
- java.lang.Enum<FTSParser.Mode>
-
- org.alfresco.repo.search.impl.parsers.FTSParser.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<FTSParser.Mode>
- Enclosing class:
- FTSParser
public static enum FTSParser.Mode extends Enum<FTSParser.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMIS
DEFAULT_CONJUNCTION
DEFAULT_DISJUNCTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FTSParser.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FTSParser.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CMIS
public static final FTSParser.Mode CMIS
-
DEFAULT_CONJUNCTION
public static final FTSParser.Mode DEFAULT_CONJUNCTION
-
DEFAULT_DISJUNCTION
public static final FTSParser.Mode DEFAULT_DISJUNCTION
-
-
Method Detail
-
values
public static FTSParser.Mode[] 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 (FTSParser.Mode c : FTSParser.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FTSParser.Mode 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
-
-