Package org.ametys.odf.workflow.copy
Enum CopyODFContentClientSideElement.DuplicationMode
- java.lang.Object
-
- java.lang.Enum<CopyODFContentClientSideElement.DuplicationMode>
-
- org.ametys.odf.workflow.copy.CopyODFContentClientSideElement.DuplicationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<CopyODFContentClientSideElement.DuplicationMode>
- Enclosing class:
- CopyODFContentClientSideElement
public static enum CopyODFContentClientSideElement.DuplicationMode extends Enum<CopyODFContentClientSideElement.DuplicationMode>
Enumeration for the mode of duplication
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
Duplicate the content and its structure and its coursesSINGLE
Duplicate the content onlySTRUCTURE_ONLY
Duplicate the content and its structure
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CopyODFContentClientSideElement.DuplicationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CopyODFContentClientSideElement.DuplicationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final CopyODFContentClientSideElement.DuplicationMode SINGLE
Duplicate the content only
-
STRUCTURE_ONLY
public static final CopyODFContentClientSideElement.DuplicationMode STRUCTURE_ONLY
Duplicate the content and its structure
-
FULL
public static final CopyODFContentClientSideElement.DuplicationMode FULL
Duplicate the content and its structure and its courses
-
-
Method Detail
-
values
public static CopyODFContentClientSideElement.DuplicationMode[] 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 (CopyODFContentClientSideElement.DuplicationMode c : CopyODFContentClientSideElement.DuplicationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CopyODFContentClientSideElement.DuplicationMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-