public static enum DTOVersionInterface.LockStrategy extends java.lang.Enum<DTOVersionInterface.LockStrategy>
Enum Constant and Description |
---|
CREATE_NEW_VERSION
Create new version.
|
DO_NOT_PUBLISH
Do not publish.
|
OVERWRITE_VERSION
Overwrite version.
|
Modifier and Type | Method and Description |
---|---|
static DTOVersionInterface.LockStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DTOVersionInterface.LockStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
for (DTOVersionInterface.LockStrategy c : DTOVersionInterface.LockStrategy.values()) System.out.println(c);
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null