Enum StatJobs.HealthStatus
- All Implemented Interfaces:
Serializable
,Comparable<StatJobs.HealthStatus>
- Enclosing class:
- StatJobs
Deprecated.
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 ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static StatJobs.HealthStatus
getHealthStatus
(Job job) Deprecated.Deprecated.int
getScore()
Deprecated.static StatJobs.HealthStatus
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 Details
-
HEALTH_OVER_80
Deprecated. -
HEALTH_60_TO_79
Deprecated. -
HEALTH_40_TO_59
Deprecated. -
HEALTH_20_TO_39
Deprecated. -
HEALTH_0_TO_19
Deprecated. -
HEALTH_UNKNOWN
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Deprecated. -
getIconClassName
Deprecated. -
getScore
public int getScore()Deprecated. -
getDescription
Deprecated.
-
HealthReport