|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VersioningOption> org.nuxeo.ecm.core.api.VersioningOption
public enum VersioningOption
The versioning options that can be requested when saving a document, or when doing a check in.
Enum Constant Summary | |
---|---|
MAJOR
Major versioning requested. |
|
MINOR
Minor versioning requested. |
|
NONE
No versioning requested. |
Method Summary | |
---|---|
static VersioningOption |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VersioningOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VersioningOption NONE
public static final VersioningOption MINOR
public static final VersioningOption MAJOR
Method Detail |
---|
public static VersioningOption[] values()
for (VersioningOption c : VersioningOption.values()) System.out.println(c);
public static VersioningOption valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |