Enum Sequence.IncompleteSequenceBehavior
- java.lang.Object
-
- java.lang.Enum<Sequence.IncompleteSequenceBehavior>
-
- com.sun.xml.ws.rx.rm.runtime.sequence.Sequence.IncompleteSequenceBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<Sequence.IncompleteSequenceBehavior>
- Enclosing interface:
- Sequence
public static enum Sequence.IncompleteSequenceBehavior extends Enum<Sequence.IncompleteSequenceBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCARD_ENTIRE_SEQUENCEValue indicates that the entire Sequence MUST be discarded if the Sequence is closed, or terminated, when there are one or more gaps in the final SequenceAcknowledgement.DISCARD_FOLLOWING_FIRST_GAPValue indicates that messages in the Sequence beyond the first gap MUST be discarded when there are one or more gaps in the final SequenceAcknowledgement.NO_DISCARDThe default value which indicates that no acknowledged messages in the Sequence will be discarded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Sequence.IncompleteSequenceBehaviorgetDefault()static Sequence.IncompleteSequenceBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static Sequence.IncompleteSequenceBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_DISCARD
public static final Sequence.IncompleteSequenceBehavior NO_DISCARD
The default value which indicates that no acknowledged messages in the Sequence will be discarded.
-
DISCARD_ENTIRE_SEQUENCE
public static final Sequence.IncompleteSequenceBehavior DISCARD_ENTIRE_SEQUENCE
Value indicates that the entire Sequence MUST be discarded if the Sequence is closed, or terminated, when there are one or more gaps in the final SequenceAcknowledgement.
-
DISCARD_FOLLOWING_FIRST_GAP
public static final Sequence.IncompleteSequenceBehavior DISCARD_FOLLOWING_FIRST_GAP
Value indicates that messages in the Sequence beyond the first gap MUST be discarded when there are one or more gaps in the final SequenceAcknowledgement.
-
-
Method Detail
-
values
public static Sequence.IncompleteSequenceBehavior[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Sequence.IncompleteSequenceBehavior c : Sequence.IncompleteSequenceBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Sequence.IncompleteSequenceBehavior valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getDefault
public static Sequence.IncompleteSequenceBehavior getDefault()
-
-