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