public enum ModuleState extends Enum<ModuleState>
UpdateScheduler.| Enum Constant and Description |
|---|
ERRORED
Some error has occurred during calculation.
|
PENDING
Currently unprocessed module.
|
REQUIRING_RECALCULATION
The calculation has finished but the numerical error was too large (set by
UpdateScheduler.setRecalculationCutoff(double)). |
SUCCEEDED
Calculation has completed with numerical error below the given threshold (set by
UpdateScheduler.setRecalculationCutoff(double)). |
SUCCEEDED_WITH_PENDING_CHANGES
The module has completed successfully but contains some changes to the simulation that should be applied at the
very end of the time step.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleState PENDING
public static final ModuleState SUCCEEDED
UpdateScheduler.setRecalculationCutoff(double)). Updates are not yet applied.public static final ModuleState SUCCEEDED_WITH_PENDING_CHANGES
public static final ModuleState REQUIRING_RECALCULATION
UpdateScheduler.setRecalculationCutoff(double)).public static final ModuleState ERRORED
public static ModuleState[] values()
for (ModuleState c : ModuleState.values()) System.out.println(c);
public static ModuleState 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 © 2018. All rights reserved.