public enum MessageDeliveryMode extends Enum<MessageDeliveryMode>
Java class for MessageDeliveryMode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MessageDeliveryMode"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="persistent"/> <enumeration value="nonPersistent"/> </restriction> </simpleType>
Enum Constant and Description |
---|
NON_PERSISTENT
Non-persistent delivery mode.
|
PERSISTENT
Persistent delivery mode.
|
Modifier and Type | Method and Description |
---|---|
static MessageDeliveryMode |
fromValue(String v) |
String |
value() |
static MessageDeliveryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDeliveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDeliveryMode PERSISTENT
public static final MessageDeliveryMode NON_PERSISTENT
public static MessageDeliveryMode[] values()
for (MessageDeliveryMode c : MessageDeliveryMode.values()) System.out.println(c);
public static MessageDeliveryMode 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 String value()
public static MessageDeliveryMode fromValue(String v)
Copyright © 2020 Evolveum. All rights reserved.