public static enum Parameter.ParameterScope extends Enum<Parameter.ParameterScope>
Modifier and Type | Method and Description |
---|---|
static Parameter.ParameterScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameter.ParameterScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parameter.ParameterScope mandatory
public static final Parameter.ParameterScope optional
public static Parameter.ParameterScope[] values()
for (Parameter.ParameterScope c : Parameter.ParameterScope.values()) System.out.println(c);
public static Parameter.ParameterScope 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 nullCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.