Package org.opencms.gwt.client.property
Enum CmsReloadMode
- java.lang.Object
-
- java.lang.Enum<CmsReloadMode>
-
- org.opencms.gwt.client.property.CmsReloadMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsReloadMode>
public enum CmsReloadMode extends java.lang.Enum<CmsReloadMode>
An enum specifying whose values specify whether an entry or its parent need to be reloaded.- Since:
- 8.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description none
This value means that neither the entry nor its parent should be reloaded.reloadEntry
This value means the entry should be reloaded.reloadParent
This value means the entry's parent should be reloaded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsReloadMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsReloadMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final CmsReloadMode none
This value means that neither the entry nor its parent should be reloaded.
-
reloadEntry
public static final CmsReloadMode reloadEntry
This value means the entry should be reloaded.
-
reloadParent
public static final CmsReloadMode reloadParent
This value means the entry's parent should be reloaded.
-
-
Method Detail
-
values
public static CmsReloadMode[] 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 (CmsReloadMode c : CmsReloadMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsReloadMode 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
-
-