Enum RelatedProjectView.Relationships
- java.lang.Object
-
- java.lang.Enum<RelatedProjectView.Relationships>
-
- hudson.plugins.project_inheritance.views.RelatedProjectView.Relationships
-
- All Implemented Interfaces:
Serializable
,Comparable<RelatedProjectView.Relationships>
- Enclosing class:
- RelatedProjectView
public static enum RelatedProjectView.Relationships extends Enum<RelatedProjectView.Relationships>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILDREN
COMPATIBLES
PARENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(String str)
String
toString()
static RelatedProjectView.Relationships
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelatedProjectView.Relationships[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARENTS
public static final RelatedProjectView.Relationships PARENTS
-
CHILDREN
public static final RelatedProjectView.Relationships CHILDREN
-
COMPATIBLES
public static final RelatedProjectView.Relationships COMPATIBLES
-
-
Method Detail
-
values
public static RelatedProjectView.Relationships[] 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 (RelatedProjectView.Relationships c : RelatedProjectView.Relationships.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelatedProjectView.Relationships 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
-
matches
public boolean matches(String str)
-
toString
public String toString()
- Overrides:
toString
in classEnum<RelatedProjectView.Relationships>
-
-