Enum IssuesStatistics.StatisticProperties
java.lang.Object
java.lang.Enum<IssuesStatistics.StatisticProperties>
io.jenkins.plugins.analysis.core.util.IssuesStatistics.StatisticProperties
- All Implemented Interfaces:
Serializable
,Comparable<IssuesStatistics.StatisticProperties>
- Enclosing class:
IssuesStatistics
public static enum IssuesStatistics.StatisticProperties
extends Enum<IssuesStatistics.StatisticProperties>
Available report statistics.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
get
(IssuesStatistics statistics) Returns the selected number of issues in the build.Returns the localized human-readable name of this instance.Returns the method that should be used to determine the selected number of issues in the build.Returns the relative url of this statistics.Returns the enum constant of this type with the specified name.static IssuesStatistics.StatisticProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOTAL
-
TOTAL_ERROR
-
TOTAL_HIGH
-
TOTAL_NORMAL
-
TOTAL_LOW
-
TOTAL_MODIFIED
-
NEW
-
NEW_ERROR
-
NEW_HIGH
-
NEW_NORMAL
-
NEW_LOW
-
NEW_MODIFIED
-
DELTA
-
DELTA_ERROR
-
DELTA_HIGH
-
DELTA_NORMAL
-
DELTA_LOW
-
FIXED
-
-
Method Details
-
values
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
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
-
getDisplayName
Returns the localized human-readable name of this instance.- Returns:
- human-readable name
-
getSizeGetter
Returns the method that should be used to determine the selected number of issues in the build.- Returns:
- the threshold getter
-
getUrl
Returns the relative url of this statistics.- Parameters:
prefix
- the prefix added to the url- Returns:
- the relative url
-
get
Returns the selected number of issues in the build.- Parameters:
statistics
- the statistics to get the value from- Returns:
- the threshold getter
-