Enum Class 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>
,Constable
- Enclosing class:
IssuesStatistics
public static enum IssuesStatistics.StatisticProperties
extends Enum<IssuesStatistics.StatisticProperties>
Available report statistics.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum 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 class with the specified name.static IssuesStatistics.StatisticProperties[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
-