Enum Options.SnippetFlag
- java.lang.Object
-
- java.lang.Enum<Options.SnippetFlag>
-
- com.priint.pubserver.comet.renderer.Options.SnippetFlag
-
- All Implemented Interfaces:
Options.OptionEnumerationType,java.io.Serializable,java.lang.Comparable<Options.SnippetFlag>
- Enclosing class:
- Options
public static enum Options.SnippetFlag extends java.lang.Enum<Options.SnippetFlag> implements Options.OptionEnumerationType
The Enum SnippetFlag extension OptionEnumerationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT_ANYThe accept any.CREATEThe create.FALLBACK_TO_TEMPLATEThe fallback to template.MATCH_CONTEXTThe match context.MATCH_DOCUMENTThe match document.MATCH_EXACTLYThe match exactly.MATCH_IDThe match id.MATCH_LAYERThe match layer.MATCH_PRODUCTThe match product.MATCH_STRICTThe match strict.MATCH_TEMPLATEThe match template.MATCH_TOLERANTThe match tolerant.NEVERThe never.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetIdentifier()Gets the identifier.static Options.SnippetFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Options.SnippetFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATCH_TEMPLATE
public static final Options.SnippetFlag MATCH_TEMPLATE
The match template.
-
MATCH_PRODUCT
public static final Options.SnippetFlag MATCH_PRODUCT
The match product.
-
MATCH_DOCUMENT
public static final Options.SnippetFlag MATCH_DOCUMENT
The match document.
-
MATCH_LAYER
public static final Options.SnippetFlag MATCH_LAYER
The match layer.
-
MATCH_CONTEXT
public static final Options.SnippetFlag MATCH_CONTEXT
The match context.
-
MATCH_ID
public static final Options.SnippetFlag MATCH_ID
The match id.
-
MATCH_STRICT
public static final Options.SnippetFlag MATCH_STRICT
The match strict.
-
MATCH_EXACTLY
public static final Options.SnippetFlag MATCH_EXACTLY
The match exactly.
-
MATCH_TOLERANT
public static final Options.SnippetFlag MATCH_TOLERANT
The match tolerant.
-
FALLBACK_TO_TEMPLATE
public static final Options.SnippetFlag FALLBACK_TO_TEMPLATE
The fallback to template.
-
CREATE
public static final Options.SnippetFlag CREATE
The create.
-
ACCEPT_ANY
public static final Options.SnippetFlag ACCEPT_ANY
The accept any.
-
NEVER
public static final Options.SnippetFlag NEVER
The never.
-
-
Method Detail
-
values
public static Options.SnippetFlag[] 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 (Options.SnippetFlag c : Options.SnippetFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Options.SnippetFlag valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getIdentifier
public java.lang.String getIdentifier()
Description copied from interface:Options.OptionEnumerationTypeGets the identifier.- Specified by:
getIdentifierin interfaceOptions.OptionEnumerationType- Returns:
- the identifier
-
-