public enum ReturnSegmentBehavior extends Enum<ReturnSegmentBehavior> implements Enumeration
ReturnSegment's
propagation.Enum Constant and Description |
---|
DISABLED
|
DISABLED_ONLY_FOR_NOMINAL_RUNS
The
ReturnSegment will not return out of the ParentList (get / set ) if
NominalRun (get / set ) is true . |
ENABLED
The
ReturnSegment will return to the specified ParentList (get / set )
it was configured to return to. |
ENABLED_ONLY_FOR_NOMINAL_RUNS
The
ReturnSegment will return out of the ParentList (get / set ) only for
NominalRun (get / set ) is true . |
Modifier and Type | Method and Description |
---|---|
static ReturnSegmentBehavior |
getDefault()
Get the enum constant that is considered to be the default.
|
static ReturnSegmentBehavior |
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 ReturnSegmentBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnSegmentBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnSegmentBehavior ENABLED
ReturnSegment
will return to the specified ParentList
(get
/ set
)
it was configured to return to.public static final ReturnSegmentBehavior DISABLED
ReturnSegment
will not return to its ParentList
(get
/ set
).
The results of the ReturnSegment
will still be logged, but no other action will occur.public static final ReturnSegmentBehavior ENABLED_ONLY_FOR_NOMINAL_RUNS
ReturnSegment
will return out of the ParentList
(get
/ set
) only for
NominalRun
(get
/ set
) is true
. Otherwise it will not return
and propagation of the SegmentList
will continue normally.public static final ReturnSegmentBehavior DISABLED_ONLY_FOR_NOMINAL_RUNS
ReturnSegment
will not return out of the ParentList
(get
/ set
) if
NominalRun
(get
/ set
) is true
. Otherwise it will return
and propagation of the SegmentList
will end.public static ReturnSegmentBehavior[] values()
for (ReturnSegmentBehavior c : ReturnSegmentBehavior.values()) System.out.println(c);
public static ReturnSegmentBehavior 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 ReturnSegmentBehavior getFromValue(int value)
value
- a numeric value.@Nonnull public static ReturnSegmentBehavior getDefault()