org.java.plugin.registry
public enum ParameterType extends java.lang.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(java.lang.String code)
Converts plug-in manifest string code to parameter type constant value.
|
abstract java.lang.String |
toCode() |
static ParameterType |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String toCode()
public static ParameterType fromCode(java.lang.String code)
code
- code from plug-in manifestCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.