Package org.alfresco.repo.version
Enum VersionRevertCallback.RevertAssocAction
- java.lang.Object
-
- java.lang.Enum<VersionRevertCallback.RevertAssocAction>
-
- org.alfresco.repo.version.VersionRevertCallback.RevertAssocAction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VersionRevertCallback.RevertAssocAction>
- Enclosing interface:
- VersionRevertCallback
public static enum VersionRevertCallback.RevertAssocAction extends java.lang.Enum<VersionRevertCallback.RevertAssocAction> implements java.lang.Comparable<VersionRevertCallback.RevertAssocAction>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VersionRevertCallback.RevertAssocActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VersionRevertCallback.RevertAssocAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REVERT
public static final VersionRevertCallback.RevertAssocAction REVERT
Revert this assoc, if it does not exist on the target version then it will be removed.
-
IGNORE
public static final VersionRevertCallback.RevertAssocAction IGNORE
Ignore the assoc, do not remove it or add it.
-
-
Method Detail
-
values
public static VersionRevertCallback.RevertAssocAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VersionRevertCallback.RevertAssocAction c : VersionRevertCallback.RevertAssocAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionRevertCallback.RevertAssocAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-