|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Control.State>
org.opt4j.core.optimizer.Control.State
public static enum Control.State
The Control.State of the control.
| Enum Constant Summary | |
|---|---|
PAUSED
The paused state. |
|
RUNNING
The running state. |
|
STOPPED
The stopped state. |
|
TERMINATED
The terminated state. |
|
| Method Summary | |
|---|---|
boolean |
isPausable()
Returns true if the current state allows to pause the
optimization. |
boolean |
isStartable()
Returns true if the current state allows to start the
optimization. |
boolean |
isStoppable()
Returns true if the current state allows to stop the
optimization. |
static Control.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Control.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Control.State RUNNING
public static final Control.State PAUSED
public static final Control.State STOPPED
public static final Control.State TERMINATED
| Method Detail |
|---|
public static Control.State[] values()
for (Control.State c : Control.State.values()) System.out.println(c);
public static Control.State 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 name
java.lang.NullPointerException - if the argument is nullpublic boolean isStartable()
true if the current state allows to start the
optimization.
true if start is availablepublic boolean isPausable()
true if the current state allows to pause the
optimization.
true if pause is availablepublic boolean isStoppable()
true if the current state allows to stop the
optimization.
true if stop is available
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||