public enum DefinedHeatParameterTypes extends Enum<DefinedHeatParameterTypes>
Enum Constant and Description |
---|
BOOLEAN |
COMMA_DELIMITED_LIST |
JSON |
NUMBER |
STRING |
Modifier and Type | Method and Description |
---|---|
static DefinedHeatParameterTypes |
findByHeatResource(String type) |
String |
getType() |
static boolean |
isEmptyValueInEnv(Object value) |
static boolean |
isNovaServerEnvValueIsFromRightType(Object value) |
static boolean |
isValueIsFromGivenType(Object value,
String parameterType)
Is value is from given type boolean.
|
void |
setType(String type) |
static DefinedHeatParameterTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefinedHeatParameterTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefinedHeatParameterTypes NUMBER
public static final DefinedHeatParameterTypes STRING
public static final DefinedHeatParameterTypes COMMA_DELIMITED_LIST
public static final DefinedHeatParameterTypes JSON
public static final DefinedHeatParameterTypes BOOLEAN
public static DefinedHeatParameterTypes[] values()
for (DefinedHeatParameterTypes c : DefinedHeatParameterTypes.values()) System.out.println(c);
public static DefinedHeatParameterTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DefinedHeatParameterTypes findByHeatResource(String type)
public static boolean isValueIsFromGivenType(Object value, String parameterType)
value
- the valueparameterType
- the parameter typepublic static boolean isNovaServerEnvValueIsFromRightType(Object value)
public static boolean isEmptyValueInEnv(Object value)
public String getType()
public void setType(String type)
Copyright © 2017. All rights reserved.