Package org.sonar.api.config
Enum PropertyDefinition.ConfigScope
- java.lang.Object
-
- java.lang.Enum<PropertyDefinition.ConfigScope>
-
- org.sonar.api.config.PropertyDefinition.ConfigScope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PropertyDefinition.ConfigScope>
- Enclosing class:
- PropertyDefinition
public static enum PropertyDefinition.ConfigScope extends java.lang.Enum<PropertyDefinition.ConfigScope>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyDefinition.ConfigScope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PropertyDefinition.ConfigScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROJECT
public static final PropertyDefinition.ConfigScope PROJECT
-
VIEW
public static final PropertyDefinition.ConfigScope VIEW
-
MODULE
@Deprecated(since="10.13", forRemoval=true) public static final PropertyDefinition.ConfigScope MODULE
Deprecated, for removal: This API element is subject to removal in a future version.since 10.13. No more modules on the server side.
-
SUB_VIEW
public static final PropertyDefinition.ConfigScope SUB_VIEW
-
APP
public static final PropertyDefinition.ConfigScope APP
-
-
Method Detail
-
values
public static PropertyDefinition.ConfigScope[] 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 (PropertyDefinition.ConfigScope c : PropertyDefinition.ConfigScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinition.ConfigScope 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
-
-