Package org.xwiki.store.merge
Enum MergeDocumentResult.DocumentPart
- java.lang.Object
-
- java.lang.Enum<MergeDocumentResult.DocumentPart>
-
- org.xwiki.store.merge.MergeDocumentResult.DocumentPart
-
- All Implemented Interfaces:
Serializable
,Comparable<MergeDocumentResult.DocumentPart>
- Enclosing class:
- MergeDocumentResult
public static enum MergeDocumentResult.DocumentPart extends Enum<MergeDocumentResult.DocumentPart>
Represents the different parts of a document that are merged.- Since:
- 11.8RC1
- Version:
- $Id: d85ec1e2fca314725e6a916d27da29b26e821c66 $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENTS
Merge of the attachments.CONTENT
Merge of the content.CUSTOM_CLASS
Merge of the custom class property.DEFAULT_LOCALE
Merge of the locale.DEFAULT_TEMPLATE
Merge of the default template.HIDDEN
Merge of the hidden property.PARENT_REFERENCE
Merge of the parent reference.SYNTAX
Merge of the syntax.TITLE
Merge of the title.VALIDATION_SCRIPT
Merge of the validation script.XCLASS
Merge of the xclass.XOBJECTS
Merge of the xobjects.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MergeDocumentResult.DocumentPart
valueOf(String name)
Returns the enum constant of this type with the specified name.static MergeDocumentResult.DocumentPart[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TITLE
public static final MergeDocumentResult.DocumentPart TITLE
Merge of the title.
-
CONTENT
public static final MergeDocumentResult.DocumentPart CONTENT
Merge of the content.
-
SYNTAX
public static final MergeDocumentResult.DocumentPart SYNTAX
Merge of the syntax.
-
DEFAULT_LOCALE
public static final MergeDocumentResult.DocumentPart DEFAULT_LOCALE
Merge of the locale.- Since:
- 11.10.11, 12.6.3, 12.8
-
PARENT_REFERENCE
public static final MergeDocumentResult.DocumentPart PARENT_REFERENCE
Merge of the parent reference.
-
DEFAULT_TEMPLATE
public static final MergeDocumentResult.DocumentPart DEFAULT_TEMPLATE
Merge of the default template.
-
HIDDEN
public static final MergeDocumentResult.DocumentPart HIDDEN
Merge of the hidden property.
-
CUSTOM_CLASS
public static final MergeDocumentResult.DocumentPart CUSTOM_CLASS
Merge of the custom class property.
-
VALIDATION_SCRIPT
public static final MergeDocumentResult.DocumentPart VALIDATION_SCRIPT
Merge of the validation script.
-
XOBJECTS
public static final MergeDocumentResult.DocumentPart XOBJECTS
Merge of the xobjects.
-
XCLASS
public static final MergeDocumentResult.DocumentPart XCLASS
Merge of the xclass.
-
ATTACHMENTS
public static final MergeDocumentResult.DocumentPart ATTACHMENTS
Merge of the attachments.
-
-
Method Detail
-
values
public static MergeDocumentResult.DocumentPart[] 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 (MergeDocumentResult.DocumentPart c : MergeDocumentResult.DocumentPart.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergeDocumentResult.DocumentPart 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
-
-