Package org.sonar.api
Enum SonarQubeSide
- java.lang.Object
-
- java.lang.Enum<SonarQubeSide>
-
- org.sonar.api.SonarQubeSide
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SonarQubeSide>
public enum SonarQubeSide extends java.lang.Enum<SonarQubeSide>
Runtime stack in SonarQube product.- Since:
- 6.0
- See Also:
SonarRuntime.getSonarQubeSide()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPUTE_ENGINE
SCANNER
SERVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SonarQubeSide
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SonarQubeSide[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCANNER
public static final SonarQubeSide SCANNER
-
SERVER
public static final SonarQubeSide SERVER
-
COMPUTE_ENGINE
public static final SonarQubeSide COMPUTE_ENGINE
-
-
Method Detail
-
values
public static SonarQubeSide[] 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 (SonarQubeSide c : SonarQubeSide.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SonarQubeSide 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
-
-