Enum Class GomIncludeOptions.IncludeVariant
java.lang.Object
java.lang.Enum<GomIncludeOptions.IncludeVariant>
de.espirit.firstspirit.access.store.templatestore.gom.GomIncludeOptions.IncludeVariant
- All Implemented Interfaces:
GomVariantContractor
,Serializable
,Comparable<GomIncludeOptions.IncludeVariant>
,Constable
- Enclosing class:
- GomIncludeOptions
public static enum GomIncludeOptions.IncludeVariant
extends Enum<GomIncludeOptions.IncludeVariant>
implements GomVariantContractor
Variants to include
- Since:
- 4.2.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVariant for databasesVariant for project languagesVariant for public types and hot-spot implementationsVariant for template sets -
Method Summary
Modifier and TypeMethodDescriptiongetType()
The type to include for the variantstatic @NotNull GomIncludeOptions.IncludeVariant
valueFrom
(@NotNull IncludeType includeType) Returns theGomIncludeOptions.IncludeVariant
for anIncludeType
Returns the enum constant of this class with the specified name.static GomIncludeOptions.IncludeVariant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.variants()
Maps eachGomIncludeOptions.IncludeVariant
to its configurationMethods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomVariantContractor
name
-
Enum Constant Details
-
LANGUAGE
Variant for project languages- Since:
- 4.2.5
-
TEMPLATESET
Variant for template sets- Since:
- 4.2.5
-
DATABASE
Variant for databases- Since:
- 4.2.5
-
PUBLIC
Variant for public types and hot-spot implementations- Since:
- 4.2.5
-
-
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
-
getType
The type to include for the variant- Since:
- 5.2.11
-
valueFrom
@NotNull public static @NotNull GomIncludeOptions.IncludeVariant valueFrom(@NotNull @NotNull IncludeType includeType) Returns theGomIncludeOptions.IncludeVariant
for anIncludeType
- Parameters:
includeType
- the type to return the variant for- Returns:
- the matching variant
- Throws:
IllegalArgumentException
- if the type is not valid- Since:
- 5.2.11
-
variants
Maps eachGomIncludeOptions.IncludeVariant
to its configuration- Since:
- 4.2.5
-