Enum GroupReduceType
- java.lang.Object
-
- java.lang.Enum<GroupReduceType>
-
- com.gentics.contentnode.rest.model.request.GroupReduceType
-
- All Implemented Interfaces:
Serializable
,Comparable<GroupReduceType>
public enum GroupReduceType extends Enum<GroupReduceType>
Types of reducing group lists
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupReduceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GroupReduceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
child
public static final GroupReduceType child
For groups that form a hierarchy, only the child remains
-
parent
public static final GroupReduceType parent
For groups that form a hierarchy, only the parent remains
-
-
Method Detail
-
values
public static GroupReduceType[] 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 (GroupReduceType c : GroupReduceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupReduceType 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
-
-