Enum StatJobs.HealthStatus
- java.lang.Object
-
- java.lang.Enum<StatJobs.HealthStatus>
-
- hudson.plugins.view.dashboard.stats.StatJobs.HealthStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<StatJobs.HealthStatus>
- Enclosing class:
- StatJobs
@Deprecated public static enum StatJobs.HealthStatus extends Enum<StatJobs.HealthStatus>
Deprecated.Should be replaced withHealthReport
Heath status of the builds (use enum not class for it) FIXME: Should be refactored to not duplicate logic from Jenkins core.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEALTH_0_TO_19
Deprecated.HEALTH_20_TO_39
Deprecated.HEALTH_40_TO_59
Deprecated.HEALTH_60_TO_79
Deprecated.HEALTH_OVER_80
Deprecated.HEALTH_UNKNOWN
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDescription()
Deprecated.static StatJobs.HealthStatus
getHealthStatus(Job job)
Deprecated.String
getIconClassName()
Deprecated.int
getScore()
Deprecated.static StatJobs.HealthStatus
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static StatJobs.HealthStatus[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEALTH_OVER_80
public static final StatJobs.HealthStatus HEALTH_OVER_80
Deprecated.
-
HEALTH_60_TO_79
public static final StatJobs.HealthStatus HEALTH_60_TO_79
Deprecated.
-
HEALTH_40_TO_59
public static final StatJobs.HealthStatus HEALTH_40_TO_59
Deprecated.
-
HEALTH_20_TO_39
public static final StatJobs.HealthStatus HEALTH_20_TO_39
Deprecated.
-
HEALTH_0_TO_19
public static final StatJobs.HealthStatus HEALTH_0_TO_19
Deprecated.
-
HEALTH_UNKNOWN
public static final StatJobs.HealthStatus HEALTH_UNKNOWN
Deprecated.
-
-
Method Detail
-
values
public static StatJobs.HealthStatus[] values()
Deprecated.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 (StatJobs.HealthStatus c : StatJobs.HealthStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatJobs.HealthStatus valueOf(String name)
Deprecated.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
-
getHealthStatus
public static StatJobs.HealthStatus getHealthStatus(Job job)
Deprecated.
-
getIconClassName
public String getIconClassName()
Deprecated.
-
getScore
public int getScore()
Deprecated.
-
getDescription
public String getDescription()
Deprecated.
-
-