Package com.atlassian.confluence.core
Enum Class VersionChildOwnerPolicy
- All Implemented Interfaces:
Serializable
,Comparable<VersionChildOwnerPolicy>
,Constable
This enum dictates the policies used when saving children for CEOs and CCEOs in regard to the version of the parent they belong to
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen this policy is used, the children will always belong to the last version of the parent that created it (this is the default Confluence behaviour)When this policy is used, the children will always belong to the version of the parent that created it -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionChildOwnerPolicy
Returns the enum constant of this class with the specified name.static VersionChildOwnerPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
currentVersion
When this policy is used, the children will always belong to the last version of the parent that created it (this is the default Confluence behaviour) -
originalVersion
When this policy is used, the children will always belong to the version of the parent that created it
-
-
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
-