Module org.kohsuke.github.api
Package org.kohsuke.github
Enum GHRepositoryRule.SecurityAlertsThreshold
java.lang.Object
java.lang.Enum<GHRepositoryRule.SecurityAlertsThreshold>
org.kohsuke.github.GHRepositoryRule.SecurityAlertsThreshold
- All Implemented Interfaces:
Serializable
,Comparable<GHRepositoryRule.SecurityAlertsThreshold>
- Enclosing class:
- GHRepositoryRule
public static enum GHRepositoryRule.SecurityAlertsThreshold
extends Enum<GHRepositoryRule.SecurityAlertsThreshold>
Security alerts threshold parameter.
-
Enum Constant Summary
Enum ConstantDescriptionallcriticalhigh_or_highermedium_or_highernone -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
none -
CRITICAL
critical -
HIGH_OR_HIGHER
high_or_higher -
MEDIUM_OR_HIGHER
medium_or_higher -
ALL
all
-
-
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
-