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 SummaryEnum Constants Enum Constant Description GREATER_THANLESS_THAN
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static QualityGate.OperatorvalueOf(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- 
GREATER_THANpublic static final QualityGate.Operator GREATER_THAN 
 - 
LESS_THANpublic static final QualityGate.Operator LESS_THAN 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-