Enum BuildStatisticsPortlet.JobType
- java.lang.Object
-
- java.lang.Enum<BuildStatisticsPortlet.JobType>
-
- org.jenkinsci.test.acceptance.plugins.dashboard_view.BuildStatisticsPortlet.JobType
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildStatisticsPortlet.JobType>
- Enclosing class:
- BuildStatisticsPortlet
public static enum BuildStatisticsPortlet.JobType extends Enum<BuildStatisticsPortlet.JobType>
Different types of jobs and related default row number in statistics table.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildStatisticsPortlet.JobType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildStatisticsPortlet.JobType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILED
public static final BuildStatisticsPortlet.JobType FAILED
-
UNSTABLE
public static final BuildStatisticsPortlet.JobType UNSTABLE
-
SUCCESS
public static final BuildStatisticsPortlet.JobType SUCCESS
-
PENDING
public static final BuildStatisticsPortlet.JobType PENDING
-
DISABLED
public static final BuildStatisticsPortlet.JobType DISABLED
-
ABORTED
public static final BuildStatisticsPortlet.JobType ABORTED
-
NOT_BUILT
public static final BuildStatisticsPortlet.JobType NOT_BUILT
-
TOTAL
public static final BuildStatisticsPortlet.JobType TOTAL
-
-
Method Detail
-
values
public static BuildStatisticsPortlet.JobType[] 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 (BuildStatisticsPortlet.JobType c : BuildStatisticsPortlet.JobType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildStatisticsPortlet.JobType 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
-
-