Package io.cucumber.query
Enum Repository.RepositoryFeature
- java.lang.Object
-
- java.lang.Enum<Repository.RepositoryFeature>
-
- io.cucumber.query.Repository.RepositoryFeature
-
- All Implemented Interfaces:
Serializable,Comparable<Repository.RepositoryFeature>
- Enclosing class:
- Repository
public static enum Repository.RepositoryFeature extends Enum<Repository.RepositoryFeature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCLUDE_ATTACHMENTSIncludeAttachmentmessages.INCLUDE_GHERKIN_DOCUMENTSIncludeGherkinDocumentmessages.INCLUDE_HOOKSIncludeHookmessages.INCLUDE_STEP_DEFINITIONSIncludeStepDefinitionmessages.INCLUDE_SUGGESTIONSIncludeSuggestionmessages.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Repository.RepositoryFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static Repository.RepositoryFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE_ATTACHMENTS
public static final Repository.RepositoryFeature INCLUDE_ATTACHMENTS
IncludeAttachmentmessages.Disable to reduce memory usage.
-
INCLUDE_GHERKIN_DOCUMENTS
public static final Repository.RepositoryFeature INCLUDE_GHERKIN_DOCUMENTS
IncludeGherkinDocumentmessages.Disable to reduce memory usage.
-
INCLUDE_HOOKS
public static final Repository.RepositoryFeature INCLUDE_HOOKS
IncludeHookmessages.Disable to reduce memory usage.
-
INCLUDE_STEP_DEFINITIONS
public static final Repository.RepositoryFeature INCLUDE_STEP_DEFINITIONS
IncludeStepDefinitionmessages.Disable to reduce memory usage.
-
INCLUDE_SUGGESTIONS
public static final Repository.RepositoryFeature INCLUDE_SUGGESTIONS
IncludeSuggestionmessages.Disable to reduce memory usage.
-
-
Method Detail
-
values
public static Repository.RepositoryFeature[] 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 (Repository.RepositoryFeature c : Repository.RepositoryFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Repository.RepositoryFeature 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
-
-