Package ro.sync.ecss.extensions.docbook
Enum PromoteDemoteSectionUtil.PromoteDemote
- java.lang.Object
-
- java.lang.Enum<PromoteDemoteSectionUtil.PromoteDemote>
-
- ro.sync.ecss.extensions.docbook.PromoteDemoteSectionUtil.PromoteDemote
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PromoteDemoteSectionUtil.PromoteDemote>
- Enclosing class:
- PromoteDemoteSectionUtil
public static enum PromoteDemoteSectionUtil.PromoteDemote extends java.lang.Enum<PromoteDemoteSectionUtil.PromoteDemote>
Promote/demote section action.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PromoteDemoteSectionUtil.PromoteDemote
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PromoteDemoteSectionUtil.PromoteDemote[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROMOTE
public static final PromoteDemoteSectionUtil.PromoteDemote PROMOTE
Promote section action.
-
DEMOTE
public static final PromoteDemoteSectionUtil.PromoteDemote DEMOTE
Demote section action.
-
-
Method Detail
-
values
public static PromoteDemoteSectionUtil.PromoteDemote[] 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 (PromoteDemoteSectionUtil.PromoteDemote c : PromoteDemoteSectionUtil.PromoteDemote.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromoteDemoteSectionUtil.PromoteDemote 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
-
-