Enum Class SolvingStatus
- All Implemented Interfaces:
Serializable, Comparable<SolvingStatus>, Constable
Use case 1: a valid dataset is submitted without requesting solving. In this case, the status will be DATASET_CREATED, DATASET_VALIDATED, and then DATASET_COMPUTED.
Use case 2: a valid dataset is submitted and solving is requested. In this case, the status will be DATASET_CREATED, DATASET_VALIDATED, DATASET_COMPUTED, SOLVING_STARTED, SOLVING_ACTIVE, SOLVING_COMPLETED. SOLVING_SCHEDULED is skipped as the solving is started immediately.
Use case 3: solving is requested for a previously submitted dataset. The dataset is in the DATASET_COMPUTED status before the operation starts. It moves to SOLVING_SCHEDULED, SOLVING_STARTED, SOLVING_ACTIVE, and SOLVING_COMPLETED.
Use case 4: an invalid dataset is submitted. In this case, the status will be DATASET_CREATED, DATASET_INVALID.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SolvingStatusReturns the enum constant of this class with the specified name.static SolvingStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATASET_CREATED
-
DATASET_VALIDATED
-
DATASET_INVALID
-
DATASET_COMPUTED
-
SOLVING_SCHEDULED
-
SOLVING_STARTED
-
SOLVING_ACTIVE
-
SOLVING_COMPLETED
-
SOLVING_INCOMPLETE
-
SOLVING_FAILED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-