Enum Class ServiceCapabilityType

java.lang.Object
java.lang.Enum<ServiceCapabilityType>
io.spring.initializr.metadata.ServiceCapabilityType
All Implemented Interfaces:
Serializable, Comparable<ServiceCapabilityType>, Constable

public enum ServiceCapabilityType extends Enum<ServiceCapabilityType>
Defines the supported service capability type.
Author:
Stephane Nicoll
  • Enum Constant Details

    • ACTION

      public static final ServiceCapabilityType ACTION
      A special type that defines the action to use.
    • TEXT

      public static final ServiceCapabilityType TEXT
      A simple text value with no option.
    • SINGLE_SELECT

      public static final ServiceCapabilityType SINGLE_SELECT
      A simple value to be chosen amongst the specified options.
    • HIERARCHICAL_MULTI_SELECT

      public static final ServiceCapabilityType HIERARCHICAL_MULTI_SELECT
      A hierarchical set of values (values in values) with the ability to select multiple values.
  • Method Details

    • values

      public static ServiceCapabilityType[] 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

      public static ServiceCapabilityType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()