public enum ParameterType extends Enum<ParameterType>
Enum Constant and Description |
---|
ANY
Parameter definition type constant.
|
BOOLEAN
Parameter definition type constant.
|
DATE
Parameter definition type constant.
|
DATE_TIME
Parameter definition type constant.
|
EXTENSION_ID
Parameter definition type constant.
|
EXTENSION_POINT_ID
Parameter definition type constant.
|
FIXED
Parameter definition type constant.
|
NULL
Parameter definition type constant.
|
NUMBER
Parameter definition type constant.
|
PLUGIN_ID
Parameter definition type constant.
|
RESOURCE
Parameter definition type constant.
|
STRING
Parameter definition type constant.
|
TIME
Parameter definition type constant.
|
Modifier and Type | Method and Description |
---|---|
static ParameterType |
fromCode(String code)
Converts plug-in manifest string code to parameter type constant value.
|
abstract String |
toCode() |
static ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType STRING
public static final ParameterType BOOLEAN
public static final ParameterType NUMBER
public static final ParameterType DATE
public static final ParameterType TIME
public static final ParameterType DATE_TIME
public static final ParameterType NULL
public static final ParameterType ANY
public static final ParameterType PLUGIN_ID
public static final ParameterType EXTENSION_POINT_ID
public static final ParameterType EXTENSION_ID
public static final ParameterType FIXED
public static final ParameterType RESOURCE
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType 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 abstract String toCode()
public static ParameterType fromCode(String code)
code
- code from plug-in manifestCopyright © 2016. All Rights Reserved.