Enum RoleModelUtils.RoleType
- java.lang.Object
-
- java.lang.Enum<RoleModelUtils.RoleType>
-
- org.apache.archiva.redback.role.util.RoleModelUtils.RoleType
-
- All Implemented Interfaces:
Serializable
,Comparable<RoleModelUtils.RoleType>
,org.apache.archiva.components.graph.api.Category
- Enclosing class:
- RoleModelUtils
public static enum RoleModelUtils.RoleType extends Enum<RoleModelUtils.RoleType> implements org.apache.archiva.components.graph.api.Category
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoleModelUtils.RoleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RoleModelUtils.RoleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROLE
public static final RoleModelUtils.RoleType ROLE
-
TEMPLATE
public static final RoleModelUtils.RoleType TEMPLATE
-
-
Method Detail
-
values
public static RoleModelUtils.RoleType[] 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 (RoleModelUtils.RoleType c : RoleModelUtils.RoleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleModelUtils.RoleType 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
-
-