|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VersionChildOwnerPolicy> com.atlassian.confluence.core.VersionChildOwnerPolicy
public enum VersionChildOwnerPolicy
This enum dictates the policies used when saving children for CEOs and CCEOs in regard to the version of the parent they belong to
currentVersion
,
originalVersion
Enum Constant Summary | |
---|---|
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 Summary | |
---|---|
static VersionChildOwnerPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VersionChildOwnerPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VersionChildOwnerPolicy currentVersion
public static final VersionChildOwnerPolicy originalVersion
Method Detail |
---|
public static VersionChildOwnerPolicy[] values()
for (VersionChildOwnerPolicy c : VersionChildOwnerPolicy.values()) System.out.println(c);
public static VersionChildOwnerPolicy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |