public enum DeliveryModeConfig extends Enum<DeliveryModeConfig>
DeliveryMode
persistence constants.Enum Constant and Description |
---|
NON_PERSISTENT
A non-persistent delivery mode.
|
PERSISTENT
A persistent delivery mode.
|
Modifier and Type | Method and Description |
---|---|
int |
getMode()
Returns the DeliveryMode value for this configuration.
|
static DeliveryModeConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryModeConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryModeConfig PERSISTENT
public static final DeliveryModeConfig NON_PERSISTENT
public static DeliveryModeConfig[] values()
for (DeliveryModeConfig c : DeliveryModeConfig.values()) System.out.println(c);
public static DeliveryModeConfig 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 int getMode()
DeliveryMode
Copyright 2011-2017 ForgeRock AS.