Enum Class FileRequestParameters.SnippetSearchFlag
java.lang.Object
java.lang.Enum<FileRequestParameters.SnippetSearchFlag>
com.priint.pubserver.comet.bridge.FileRequestParameters.SnippetSearchFlag
- All Implemented Interfaces:
Serializable,Comparable<FileRequestParameters.SnippetSearchFlag>,Constable
- Enclosing class:
- FileRequestParameters
public static enum FileRequestParameters.SnippetSearchFlag
extends Enum<FileRequestParameters.SnippetSearchFlag>
The enum Snippet search flag.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccept any snippet search flag.Create snippet search flag.Exactly snippet search flag.Fallback to template snippet search flag.Match context snippet search flag.Match document snippet search flag.Match id snippet search flag.Match layer snippet search flag.Match product snippet search flag.Match template snippet search flag.Match tolerant snippet search flag.Never snippet search flag.Strict snippet search flag. -
Method Summary
-
Enum Constant Details
-
MATCH_PRODUCT
Match product snippet search flag. -
MATCH_TEMPLATE
Match template snippet search flag. -
MATCH_TOLERANT
Match tolerant snippet search flag. -
MATCH_DOCUMENT
Match document snippet search flag. -
MATCH_LAYER
Match layer snippet search flag. -
MATCH_CONTEXT
Match context snippet search flag. -
MATCH_ID
Match id snippet search flag. -
FALLBACK_TO_TEMPLATE
Fallback to template snippet search flag. -
STRICT
Strict snippet search flag. -
EXACTLY
Exactly snippet search flag. -
ACCEPT_ANY
Accept any snippet search flag. -
CREATE
Create snippet search flag. -
NEVER
Never snippet search flag.
-
-
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
-
getValue
public int getValue()Gets value.- Returns:
- the value
-
getConstantName
Gets constant name.- Returns:
- the constant name
-