public enum PropagationStage extends Enum<PropagationStage> implements Enumeration
Enum Constant and Description |
---|
CORRECTION_AFTER_STEP
The call occurs at the end of the step, after propagation.
|
OUTSIDE_OF_PROPAGATION
This signifies that the evaluation was not made as part of propagation.
|
PROPAGATION_STEP
The call occurs during propagation.
|
UPDATE_PRIOR_TO_STEP
The call occurs at the beginning of the step, prior to propagation.
|
Modifier and Type | Method and Description |
---|---|
static PropagationStage |
getDefault()
Get the enum constant that is considered to be the default.
|
static PropagationStage |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static PropagationStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropagationStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropagationStage UPDATE_PRIOR_TO_STEP
public static final PropagationStage PROPAGATION_STEP
public static final PropagationStage CORRECTION_AFTER_STEP
public static final PropagationStage OUTSIDE_OF_PROPAGATION
public static PropagationStage[] values()
for (PropagationStage c : PropagationStage.values()) System.out.println(c);
public static PropagationStage 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static PropagationStage getFromValue(int value)
value
- a numeric value.@Nonnull public static PropagationStage getDefault()