com.sun.xml.ws.rx.rm.runtime.sequence
Enum Sequence.IncompleteSequenceBehavior

java.lang.Object
  extended by java.lang.Enum<Sequence.IncompleteSequenceBehavior>
      extended by 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
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
          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.
NO_DISCARD
          The default value which indicates that no acknowledged messages in the Sequence will be discarded.
 
Method Summary
static Sequence.IncompleteSequenceBehavior getDefault()
           
static Sequence.IncompleteSequenceBehavior valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

getDefault

public static Sequence.IncompleteSequenceBehavior getDefault()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.