Enum YAxisChartType
- java.lang.Object
-
- java.lang.Enum<YAxisChartType>
-
- hudson.plugins.global_build_stats.model.YAxisChartType
-
- All Implemented Interfaces:
Serializable
,Comparable<YAxisChartType>
public enum YAxisChartType extends Enum<YAxisChartType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNT
PERCENTAGE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getLabel()
abstract void
provideDataInDataSet(DataSetBuilder<String,DateRange> dsb, DateRange range, int nbSuccess, int nbFailures, int nbUnstables, int nbAborted, int nbNotBuild)
static YAxisChartType
valueOf(String name)
Returns the enum constant of this type with the specified name.static YAxisChartType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final YAxisChartType COUNT
-
PERCENTAGE
public static final YAxisChartType PERCENTAGE
-
-
Method Detail
-
values
public static YAxisChartType[] 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 (YAxisChartType c : YAxisChartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YAxisChartType 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
-
getLabel
public abstract String getLabel()
-
provideDataInDataSet
public abstract void provideDataInDataSet(DataSetBuilder<String,DateRange> dsb, DateRange range, int nbSuccess, int nbFailures, int nbUnstables, int nbAborted, int nbNotBuild)
-
-