public enum ToscaType extends Enum<ToscaType>
Enum Constant and Description |
---|
BOOLEAN |
FLOAT |
INTEGER |
STRING |
TIMESTAMP |
VERSION |
Modifier and Type | Method and Description |
---|---|
Object |
convert(String value) |
static ToscaType |
fromYamlTypeName(String typeName) |
boolean |
isValidValue(String value) |
String |
toString() |
static ToscaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToscaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToscaType STRING
public static final ToscaType INTEGER
public static final ToscaType FLOAT
public static final ToscaType BOOLEAN
public static final ToscaType TIMESTAMP
public static final ToscaType VERSION
public static ToscaType[] values()
for (ToscaType c : ToscaType.values()) System.out.println(c);
public static ToscaType 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 boolean isValidValue(String value)
Copyright © 2017. All rights reserved.