Package org.alfresco.repo.copy
Enum Class CopyBehaviourCallback.ChildAssocCopyAction
java.lang.Object
java.lang.Enum<CopyBehaviourCallback.ChildAssocCopyAction>
org.alfresco.repo.copy.CopyBehaviourCallback.ChildAssocCopyAction
- All Implemented Interfaces:
Serializable,Comparable<CopyBehaviourCallback.ChildAssocCopyAction>,Constable
- Enclosing interface:
- CopyBehaviourCallback
public static enum CopyBehaviourCallback.ChildAssocCopyAction
extends Enum<CopyBehaviourCallback.ChildAssocCopyAction>
implements Comparable<CopyBehaviourCallback.ChildAssocCopyAction>
Description of how the copy process should traverse a child association.
The order of this enum denotes the priority when mixing behaviour as well;
that is to say that a 'forced recursion' will occur even if an 'ignore' is
also provided by the registered behaviour callbacks.
- Since:
- 3.2
- Author:
- Derek Hulley
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCopy the association only, keeping the existing child nodeTraverse the child association and copy the child nodeIgnore the child association -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface java.lang.Comparable
compareTo
-
Enum Constant Details
-
IGNORE
Ignore the child association -
COPY_ASSOC
Copy the association only, keeping the existing child node -
COPY_CHILD
Traverse the child association and copy the child node
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-