Enum TrendChartType
- java.lang.Object
-
- java.lang.Enum<TrendChartType>
-
- io.jenkins.plugins.analysis.core.util.TrendChartType
-
- All Implemented Interfaces:
Serializable
,Comparable<TrendChartType>
public enum TrendChartType extends Enum<TrendChartType>
Defines the type of trend chart to use.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATION_ONLY
The aggregation trend is only shown, no other analysis tool trend charts are shown.AGGREGATION_TOOLS
The aggregation trend is shown before all other analysis tool trend charts.NONE
Neither the aggregation trend nor analysis tool trend charts are shown.TOOLS_AGGREGATION
The aggregation trend is shown after all other analysis tool trend charts.TOOLS_ONLY
The aggregation trend is not shown, only the analysis tool trend charts are shown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrendChartType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TrendChartType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGGREGATION_TOOLS
public static final TrendChartType AGGREGATION_TOOLS
The aggregation trend is shown before all other analysis tool trend charts.
-
TOOLS_AGGREGATION
public static final TrendChartType TOOLS_AGGREGATION
The aggregation trend is shown after all other analysis tool trend charts.
-
TOOLS_ONLY
public static final TrendChartType TOOLS_ONLY
The aggregation trend is not shown, only the analysis tool trend charts are shown.
-
AGGREGATION_ONLY
public static final TrendChartType AGGREGATION_ONLY
The aggregation trend is only shown, no other analysis tool trend charts are shown.
-
NONE
public static final TrendChartType NONE
Neither the aggregation trend nor analysis tool trend charts are shown.
-
-
Method Detail
-
values
public static TrendChartType[] 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 (TrendChartType c : TrendChartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrendChartType 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
-
-