Package org.sonar.api.ce.posttask
Enum QualityGate.Operator
- java.lang.Object
-
- java.lang.Enum<QualityGate.Operator>
-
- org.sonar.api.ce.posttask.QualityGate.Operator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QualityGate.Operator>
- Enclosing interface:
- QualityGate
public static enum QualityGate.Operator extends java.lang.Enum<QualityGate.Operator>
Quality Gate condition operator.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALS
Deprecated.in 7.6.GREATER_THAN
LESS_THAN
NOT_EQUALS
Deprecated.in 7.6.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QualityGate.Operator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QualityGate.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
@Deprecated public static final QualityGate.Operator EQUALS
Deprecated.in 7.6. Using this operator will have no effect.
-
NOT_EQUALS
@Deprecated public static final QualityGate.Operator NOT_EQUALS
Deprecated.in 7.6. Using this operator will have no effect.
-
GREATER_THAN
public static final QualityGate.Operator GREATER_THAN
-
LESS_THAN
public static final QualityGate.Operator LESS_THAN
-
-
Method Detail
-
values
public static QualityGate.Operator[] 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 (QualityGate.Operator c : QualityGate.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QualityGate.Operator 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
-
-