Package org.nuxeo.ecm.core.api
Enum CoreSession.CopyOption
- java.lang.Object
-
- java.lang.Enum<CoreSession.CopyOption>
-
- org.nuxeo.ecm.core.api.CoreSession.CopyOption
-
- All Implemented Interfaces:
Serializable
,Comparable<CoreSession.CopyOption>
- Enclosing interface:
- CoreSession
public static enum CoreSession.CopyOption extends Enum<CoreSession.CopyOption>
- Since:
- 8.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESET_CREATOR
RESET_LIFE_CYCLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isResetCreator(CoreSession.CopyOption... options)
static boolean
isResetLifeCycle(CoreSession.CopyOption... options)
static CoreSession.CopyOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoreSession.CopyOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESET_LIFE_CYCLE
public static final CoreSession.CopyOption RESET_LIFE_CYCLE
-
RESET_CREATOR
public static final CoreSession.CopyOption RESET_CREATOR
-
-
Method Detail
-
values
public static CoreSession.CopyOption[] 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 (CoreSession.CopyOption c : CoreSession.CopyOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreSession.CopyOption 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
-
isResetLifeCycle
public static boolean isResetLifeCycle(CoreSession.CopyOption... options)
-
isResetCreator
public static boolean isResetCreator(CoreSession.CopyOption... options)
-
-