Package org.opencms.ade.configuration
Enum CmsTypeOrderingMode
- java.lang.Object
-
- java.lang.Enum<CmsTypeOrderingMode>
-
- org.opencms.ade.configuration.CmsTypeOrderingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsTypeOrderingMode>
public enum CmsTypeOrderingMode extends java.lang.Enum<CmsTypeOrderingMode>
Enum describing how type configurations should be ordered in the sitemap configuration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description byDisplayOrder
The display order of the type configurations is used for sorting.latestOnTop
Types added in a child sitemap configuration are moved to the front.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsTypeOrderingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsTypeOrderingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
byDisplayOrder
public static final CmsTypeOrderingMode byDisplayOrder
The display order of the type configurations is used for sorting.
-
latestOnTop
public static final CmsTypeOrderingMode latestOnTop
Types added in a child sitemap configuration are moved to the front.
-
-
Method Detail
-
values
public static CmsTypeOrderingMode[] 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 (CmsTypeOrderingMode c : CmsTypeOrderingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsTypeOrderingMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-