Package org.opencms.ade.sitemap.shared
Enum CmsSitemapChange.ChangeType
- java.lang.Object
-
- java.lang.Enum<CmsSitemapChange.ChangeType>
-
- org.opencms.ade.sitemap.shared.CmsSitemapChange.ChangeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsSitemapChange.ChangeType>
- Enclosing class:
- CmsSitemapChange
public static enum CmsSitemapChange.ChangeType extends java.lang.Enum<CmsSitemapChange.ChangeType>
The change types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description bumpDetailPage
Making a detail page the default.clipboardOnly
The clip-board only change.create
The create/new change.delete
The delete resource change.modify
The modify change.remove
The remove from navigation change.undelete
The undelete resource change.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsSitemapChange.ChangeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsSitemapChange.ChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
bumpDetailPage
public static final CmsSitemapChange.ChangeType bumpDetailPage
Making a detail page the default.
-
clipboardOnly
public static final CmsSitemapChange.ChangeType clipboardOnly
The clip-board only change.
-
create
public static final CmsSitemapChange.ChangeType create
The create/new change.
-
delete
public static final CmsSitemapChange.ChangeType delete
The delete resource change.
-
modify
public static final CmsSitemapChange.ChangeType modify
The modify change.
-
remove
public static final CmsSitemapChange.ChangeType remove
The remove from navigation change.
-
undelete
public static final CmsSitemapChange.ChangeType undelete
The undelete resource change.
-
-
Method Detail
-
values
public static CmsSitemapChange.ChangeType[] 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 (CmsSitemapChange.ChangeType c : CmsSitemapChange.ChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsSitemapChange.ChangeType 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
-
-