public static enum DataEnabled.PublishMode extends Enum<DataEnabled.PublishMode>
| Enum Constant and Description |
|---|
MANUAL |
ON_COMMIT |
ON_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static DataEnabled.PublishMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEnabled.PublishMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEnabled.PublishMode MANUAL
public static final DataEnabled.PublishMode ON_SUCCESS
public static final DataEnabled.PublishMode ON_COMMIT
public static DataEnabled.PublishMode[] values()
for (DataEnabled.PublishMode c : DataEnabled.PublishMode.values()) System.out.println(c);
public static DataEnabled.PublishMode 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