Package org.sonar.api.server.rule
Enum RulesDefinition.OwaspAsvsVersion
- java.lang.Object
-
- java.lang.Enum<RulesDefinition.OwaspAsvsVersion>
-
- org.sonar.api.server.rule.RulesDefinition.OwaspAsvsVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RulesDefinition.OwaspAsvsVersion>
- Enclosing interface:
- RulesDefinition
public static enum RulesDefinition.OwaspAsvsVersion extends java.lang.Enum<RulesDefinition.OwaspAsvsVersion>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V4_0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
label()
java.lang.String
prefix()
static RulesDefinition.OwaspAsvsVersion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RulesDefinition.OwaspAsvsVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V4_0
public static final RulesDefinition.OwaspAsvsVersion V4_0
-
-
Method Detail
-
values
public static RulesDefinition.OwaspAsvsVersion[] 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 (RulesDefinition.OwaspAsvsVersion c : RulesDefinition.OwaspAsvsVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RulesDefinition.OwaspAsvsVersion valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
label
public java.lang.String label()
-
prefix
public java.lang.String prefix()
-
-