Package com.isode.som.qmgr.objects
Enum SomQmgrRecipient.MessageState
- java.lang.Object
-
- java.lang.Enum<SomQmgrRecipient.MessageState>
-
- com.isode.som.qmgr.objects.SomQmgrRecipient.MessageState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SomQmgrRecipient.MessageState>
- Enclosing class:
- SomQmgrRecipient
public static enum SomQmgrRecipient.MessageState extends java.lang.Enum<SomQmgrRecipient.MessageState>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNativeCode()
int
getOrderCode()
Used to help order messages.static SomQmgrRecipient.MessageState
getRecipientState(int nativeCode)
java.lang.String
toString()
static SomQmgrRecipient.MessageState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SomQmgrRecipient.MessageState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final SomQmgrRecipient.MessageState NORMAL
-
ACTIVE
public static final SomQmgrRecipient.MessageState ACTIVE
-
DELAYED
public static final SomQmgrRecipient.MessageState DELAYED
-
DISABLED
public static final SomQmgrRecipient.MessageState DISABLED
-
HELD
public static final SomQmgrRecipient.MessageState HELD
-
PAUSED
public static final SomQmgrRecipient.MessageState PAUSED
-
DEFERRED
public static final SomQmgrRecipient.MessageState DEFERRED
-
UNKNOWN
public static final SomQmgrRecipient.MessageState UNKNOWN
-
-
Method Detail
-
values
public static SomQmgrRecipient.MessageState[] 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 (SomQmgrRecipient.MessageState c : SomQmgrRecipient.MessageState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SomQmgrRecipient.MessageState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getOrderCode
public int getOrderCode()
Used to help order messages.- Returns:
- order code
-
getNativeCode
public int getNativeCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SomQmgrRecipient.MessageState>
-
getRecipientState
public static SomQmgrRecipient.MessageState getRecipientState(int nativeCode)
-
-