public enum VersioningActions extends Enum<VersioningActions> implements Serializable
Used by UI.
| Enum Constant and Description | 
|---|
ACTION_INCREMENT_MAJOR  | 
ACTION_INCREMENT_MINOR  | 
ACTION_NO_INCREMENT  | 
| Modifier and Type | Method and Description | 
|---|---|
static VersioningActions | 
getByActionName(String actionName)  | 
static VersioningActions | 
getByVersioningOption(VersioningOption vo)
Returns the corresponding core versioning option for this UI versioning action. 
 | 
VersioningOption | 
getVersioningOption()  | 
String | 
toString()  | 
static VersioningActions | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static VersioningActions[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final VersioningActions ACTION_NO_INCREMENT
public static final VersioningActions ACTION_INCREMENT_MINOR
public static final VersioningActions ACTION_INCREMENT_MAJOR
public static VersioningActions[] values()
for (VersioningActions c : VersioningActions.values()) System.out.println(c);
public static VersioningActions 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 String toString()
toString in class Enum<VersioningActions>public VersioningOption getVersioningOption()
public static VersioningActions getByActionName(String actionName)
public static VersioningActions getByVersioningOption(VersioningOption vo)
Copyright © 2019 Nuxeo. All rights reserved.