public enum VersioningOption extends Enum<VersioningOption>
| Enum Constant and Description |
|---|
MAJOR
Major versioning requested.
|
MINOR
Minor versioning requested.
|
NONE
No versioning requested.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final VersioningOption NONE
public static final VersioningOption MINOR
public static final VersioningOption MAJOR
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 nameNullPointerException - if the argument is nullCopyright © 2012 Nuxeo SA. All Rights Reserved.