Enum SolverInstance.SolverStatus
- java.lang.Object
-
- java.lang.Enum<SolverInstance.SolverStatus>
-
- org.kie.server.api.model.instance.SolverInstance.SolverStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SolverInstance.SolverStatus>
- Enclosing class:
- SolverInstance
public static enum SolverInstance.SolverStatus extends Enum<SolverInstance.SolverStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_SOLVING
SOLVING
TERMINATING_EARLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolverInstance.SolverStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SolverInstance.SolverStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SOLVING
public static final SolverInstance.SolverStatus NOT_SOLVING
-
TERMINATING_EARLY
public static final SolverInstance.SolverStatus TERMINATING_EARLY
-
SOLVING
public static final SolverInstance.SolverStatus SOLVING
-
-
Method Detail
-
values
public static SolverInstance.SolverStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolverInstance.SolverStatus c : SolverInstance.SolverStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolverInstance.SolverStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-