public static enum AMPExtension.Action extends Enum<AMPExtension.Action>
Enum Constant and Description |
---|
alert
The "alert" action triggers a reply <message/> stanza to the sending entity.
|
drop
The "drop" action silently discards the message from any further delivery attempts
and ensures that it is not placed into offline storage.
|
error
The "error" action triggers a reply <message/> stanza of type "error" to the sending entity.
|
notify
The "notify" action triggers a reply <message/> stanza to the sending entity.
|
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_NAME |
Modifier and Type | Method and Description |
---|---|
static AMPExtension.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMPExtension.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMPExtension.Action alert
public static final AMPExtension.Action drop
public static final AMPExtension.Action error
public static final AMPExtension.Action notify
public static final String ATTRIBUTE_NAME
public static AMPExtension.Action[] values()
for (AMPExtension.Action c : AMPExtension.Action.values()) System.out.println(c);
public static AMPExtension.Action 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 null