Enum HstComponentConfiguration.Type
- java.lang.Object
-
- java.lang.Enum<HstComponentConfiguration.Type>
-
- org.hippoecm.hst.configuration.components.HstComponentConfiguration.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<HstComponentConfiguration.Type>
- Enclosing interface:
- HstComponentConfiguration
public static enum HstComponentConfiguration.Type extends Enum<HstComponentConfiguration.Type>
AHstComponentConfiguration
comes in three different main types. TheHstComponentConfiguration.Type
enum describes the possible values. ThisHstComponentConfiguration.Type
is similar to theHstComponentInfo.getComponentType()
which is theString
representation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT
CONTAINER_COMPONENT
CONTAINER_ITEM_COMPONENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HstComponentConfiguration.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static HstComponentConfiguration.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPONENT
public static final HstComponentConfiguration.Type COMPONENT
-
CONTAINER_COMPONENT
public static final HstComponentConfiguration.Type CONTAINER_COMPONENT
-
CONTAINER_ITEM_COMPONENT
public static final HstComponentConfiguration.Type CONTAINER_ITEM_COMPONENT
-
-
Method Detail
-
values
public static HstComponentConfiguration.Type[] 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 (HstComponentConfiguration.Type c : HstComponentConfiguration.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HstComponentConfiguration.Type 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
-
-