Enum Class Options.SnippetFlag
- All Implemented Interfaces:
Options.OptionEnumerationType,Serializable,Comparable<Options.SnippetFlag>,Constable
- Enclosing class:
- Options
public static enum Options.SnippetFlag
extends Enum<Options.SnippetFlag>
implements Options.OptionEnumerationType
The Enum SnippetFlag extension OptionEnumerationType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe accept any.The create.The fallback to template.The match context.The match document.The match exactly.The match id.The match layer.The match product.The match strict.The match template.The match tolerant.The never. -
Method Summary
Modifier and TypeMethodDescriptionGets the identifier.static Options.SnippetFlagReturns the enum constant of this class with the specified name.static Options.SnippetFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MATCH_TEMPLATE
The match template. -
MATCH_PRODUCT
The match product. -
MATCH_DOCUMENT
The match document. -
MATCH_LAYER
The match layer. -
MATCH_CONTEXT
The match context. -
MATCH_ID
The match id. -
MATCH_STRICT
The match strict. -
MATCH_EXACTLY
The match exactly. -
MATCH_TOLERANT
The match tolerant. -
FALLBACK_TO_TEMPLATE
The fallback to template. -
CREATE
The create. -
ACCEPT_ANY
The accept any. -
NEVER
The never.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getIdentifier
Description copied from interface:Options.OptionEnumerationTypeGets the identifier.- Specified by:
getIdentifierin interfaceOptions.OptionEnumerationType- Returns:
- the identifier
-