public enum ParameterMultiplicity extends Enum<ParameterMultiplicity>
| Enum Constant and Description |
|---|
ANY
Parameter definition multiplicity constant.
|
NONE_OR_ONE
Parameter definition multiplicity constant.
|
ONE
Parameter definition multiplicity constant.
|
ONE_OR_MORE
Parameter definition multiplicity constant.
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterMultiplicity |
fromCode(String code)
Converts plug-in manifest string code to parameter multiplicity constant
value.
|
abstract String |
toCode() |
static ParameterMultiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterMultiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterMultiplicity ONE
public static final ParameterMultiplicity ANY
public static final ParameterMultiplicity NONE_OR_ONE
public static final ParameterMultiplicity ONE_OR_MORE
public static ParameterMultiplicity[] values()
for (ParameterMultiplicity c : ParameterMultiplicity.values()) System.out.println(c);
public static ParameterMultiplicity 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 ParameterMultiplicity fromCode(String code)
code - code from plug-in manifestCopyright © 2016. All rights reserved.