Enum FileRequestParameters.SnippetSearchFlag
- java.lang.Object
-
- java.lang.Enum<FileRequestParameters.SnippetSearchFlag>
-
- com.priint.pubserver.comet.bridge.FileRequestParameters.SnippetSearchFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FileRequestParameters.SnippetSearchFlag>
- Enclosing class:
- FileRequestParameters
public static enum FileRequestParameters.SnippetSearchFlag extends java.lang.Enum<FileRequestParameters.SnippetSearchFlag>
The enum Snippet search flag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT_ANYAccept any snippet search flag.CREATECreate snippet search flag.EXACTLYExactly snippet search flag.FALLBACK_TO_TEMPLATEFallback to template snippet search flag.MATCH_CONTEXTMatch context snippet search flag.MATCH_DOCUMENTMatch document snippet search flag.MATCH_IDMatch id snippet search flag.MATCH_LAYERMatch layer snippet search flag.MATCH_PRODUCTMatch product snippet search flag.MATCH_TEMPLATEMatch template snippet search flag.MATCH_TOLERANTMatch tolerant snippet search flag.NEVERNever snippet search flag.STRICTStrict snippet search flag.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConstantName()Gets constant name.intgetValue()Gets value.static FileRequestParameters.SnippetSearchFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FileRequestParameters.SnippetSearchFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATCH_PRODUCT
public static final FileRequestParameters.SnippetSearchFlag MATCH_PRODUCT
Match product snippet search flag.
-
MATCH_TEMPLATE
public static final FileRequestParameters.SnippetSearchFlag MATCH_TEMPLATE
Match template snippet search flag.
-
MATCH_TOLERANT
public static final FileRequestParameters.SnippetSearchFlag MATCH_TOLERANT
Match tolerant snippet search flag.
-
MATCH_DOCUMENT
public static final FileRequestParameters.SnippetSearchFlag MATCH_DOCUMENT
Match document snippet search flag.
-
MATCH_LAYER
public static final FileRequestParameters.SnippetSearchFlag MATCH_LAYER
Match layer snippet search flag.
-
MATCH_CONTEXT
public static final FileRequestParameters.SnippetSearchFlag MATCH_CONTEXT
Match context snippet search flag.
-
MATCH_ID
public static final FileRequestParameters.SnippetSearchFlag MATCH_ID
Match id snippet search flag.
-
FALLBACK_TO_TEMPLATE
public static final FileRequestParameters.SnippetSearchFlag FALLBACK_TO_TEMPLATE
Fallback to template snippet search flag.
-
STRICT
public static final FileRequestParameters.SnippetSearchFlag STRICT
Strict snippet search flag.
-
EXACTLY
public static final FileRequestParameters.SnippetSearchFlag EXACTLY
Exactly snippet search flag.
-
ACCEPT_ANY
public static final FileRequestParameters.SnippetSearchFlag ACCEPT_ANY
Accept any snippet search flag.
-
CREATE
public static final FileRequestParameters.SnippetSearchFlag CREATE
Create snippet search flag.
-
NEVER
public static final FileRequestParameters.SnippetSearchFlag NEVER
Never snippet search flag.
-
-
Method Detail
-
values
public static FileRequestParameters.SnippetSearchFlag[] 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 (FileRequestParameters.SnippetSearchFlag c : FileRequestParameters.SnippetSearchFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileRequestParameters.SnippetSearchFlag 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
-
getValue
public int getValue()
Gets value.- Returns:
- the value
-
getConstantName
public java.lang.String getConstantName()
Gets constant name.- Returns:
- the constant name
-
-