Enum ActivityScore
- java.lang.Object
-
- java.lang.Enum<ActivityScore>
-
- io.jenkins.plugins.devopsportal.models.ActivityScore
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityScore>
public enum ActivityScore extends Enum<ActivityScore>
List of all Scores used to measure achievement of a build activity.- Author:
- RĂ©mi BELLO <remi@evolya.fr>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivityScore
min(ActivityScore... scores)
static ActivityScore
parseString(String value)
static ActivityScore
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityScore[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
E
public static final ActivityScore E
-
D
public static final ActivityScore D
-
B
public static final ActivityScore B
-
C
public static final ActivityScore C
-
A
public static final ActivityScore A
-
-
Method Detail
-
values
public static ActivityScore[] 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 (ActivityScore c : ActivityScore.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityScore 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
-
min
public static ActivityScore min(ActivityScore... scores)
-
parseString
public static ActivityScore parseString(String value)
-
-