Package org.sonar.api.server.rule
Enum RulesDefinition.OwaspTop10
- java.lang.Object
-
- java.lang.Enum<RulesDefinition.OwaspTop10>
-
- org.sonar.api.server.rule.RulesDefinition.OwaspTop10
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RulesDefinition.OwaspTop10>
- Enclosing interface:
- RulesDefinition
public static enum RulesDefinition.OwaspTop10 extends java.lang.Enum<RulesDefinition.OwaspTop10>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RulesDefinition.OwaspTop10
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RulesDefinition.OwaspTop10[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A1
public static final RulesDefinition.OwaspTop10 A1
-
A2
public static final RulesDefinition.OwaspTop10 A2
-
A3
public static final RulesDefinition.OwaspTop10 A3
-
A4
public static final RulesDefinition.OwaspTop10 A4
-
A5
public static final RulesDefinition.OwaspTop10 A5
-
A6
public static final RulesDefinition.OwaspTop10 A6
-
A7
public static final RulesDefinition.OwaspTop10 A7
-
A8
public static final RulesDefinition.OwaspTop10 A8
-
A9
public static final RulesDefinition.OwaspTop10 A9
-
A10
public static final RulesDefinition.OwaspTop10 A10
-
-
Method Detail
-
values
public static RulesDefinition.OwaspTop10[] 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.OwaspTop10 c : RulesDefinition.OwaspTop10.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.OwaspTop10 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
-
-