public static enum Algorithm.ParameterEnum extends Enum<Algorithm.ParameterEnum> implements Parameter
Parameter.Type| Enum Constant and Description |
|---|
aggregateLimit |
costLimit |
timeLimitSeconds |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description of this Parameter.
|
String |
getName()
Returns the name of this Parameter.
|
Parameter.Type |
getType()
Returns the of this Parameter.
|
boolean |
isRequired()
Returns whether the parameter is required.
|
static Algorithm.ParameterEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm.ParameterEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Algorithm.ParameterEnum timeLimitSeconds
public static final Algorithm.ParameterEnum aggregateLimit
public static final Algorithm.ParameterEnum costLimit
public static Algorithm.ParameterEnum[] values()
for (Algorithm.ParameterEnum c : Algorithm.ParameterEnum.values()) System.out.println(c);
public static Algorithm.ParameterEnum 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 isRequired()
ParameterisRequired in interface Parameterpublic Parameter.Type getType()
Parameterpublic String getDescription()
ParametergetDescription in interface ParameterCopyright © 2006–2016 Julian Hyde. All rights reserved.