Package io.spring.initializr.metadata
Enum Class ServiceCapabilityType
- All Implemented Interfaces:
Serializable
,Comparable<ServiceCapabilityType>
,Constable
Defines the supported service capability type.
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA special type that defines the action to use.A hierarchical set of values (values in values) with the ability to select multiple values.A simple value to be chosen amongst the specified options.A simple text value with no option. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static ServiceCapabilityType
Returns the enum constant of this class with the specified name.static ServiceCapabilityType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTION
A special type that defines the action to use. -
TEXT
A simple text value with no option. -
SINGLE_SELECT
A simple value to be chosen amongst the specified options. -
HIERARCHICAL_MULTI_SELECT
A hierarchical set of values (values in values) with the ability to select multiple values.
-
-
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
-
getName
-