public enum TargetedSegmentListOperatorConvergenceBehavior extends Enum<TargetedSegmentListOperatorConvergenceBehavior> implements Enumeration
TargetedSegmentList
when an operator
finishes successfully.Enum Constant and Description |
---|
RUN_OPERATORS_AND_SEGMENTS_AND_CONTINUE
The default behavior, each
operator will
run to completion, run the list of segments a final time if they have not been run as part of the final operator,
and propagation will continue. |
RUN_OPERATORS_AND_SEGMENTS_AND_STOP
This will run all of the
operators ,
run the list of segments a final time if they have not been run as part of the final operator,
but will prevent propagators after the
TargetedSegmentList from propagating even if the
operators converged. |
STOP
Stop indicates that when one
operator converges,
all operators should stop and the results should be returned to the user. |
Modifier and Type | Method and Description |
---|---|
static TargetedSegmentListOperatorConvergenceBehavior |
getDefault()
Get the enum constant that is considered to be the default.
|
static TargetedSegmentListOperatorConvergenceBehavior |
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 TargetedSegmentListOperatorConvergenceBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetedSegmentListOperatorConvergenceBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetedSegmentListOperatorConvergenceBehavior RUN_OPERATORS_AND_SEGMENTS_AND_CONTINUE
operator
will
run to completion, run the list of segments a final time if they have not been run as part of the final operator,
and propagation will continue. Note that if the operators do not run the segments
in the TargetedSegmentList
, the segments will still be propagated once in the
propagation of the TargetedSegmentList
.public static final TargetedSegmentListOperatorConvergenceBehavior RUN_OPERATORS_AND_SEGMENTS_AND_STOP
operators
,
run the list of segments a final time if they have not been run as part of the final operator,
but will prevent propagators
after the
TargetedSegmentList
from propagating even if the
operators
converged. Note that if the operators
do not run the segments in the TargetedSegmentList
, the segments will be propagated.public static final TargetedSegmentListOperatorConvergenceBehavior STOP
operator
converges,
all operators should stop and the results should be returned to the user.public static TargetedSegmentListOperatorConvergenceBehavior[] values()
for (TargetedSegmentListOperatorConvergenceBehavior c : TargetedSegmentListOperatorConvergenceBehavior.values()) System.out.println(c);
public static TargetedSegmentListOperatorConvergenceBehavior 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 TargetedSegmentListOperatorConvergenceBehavior getFromValue(int value)
value
- a numeric value.@Nonnull public static TargetedSegmentListOperatorConvergenceBehavior getDefault()