Package com.databricks.sdk.service.jobs
Enum ConditionTaskOp
- java.lang.Object
-
- java.lang.Enum<ConditionTaskOp>
-
- com.databricks.sdk.service.jobs.ConditionTaskOp
-
- All Implemented Interfaces:
Serializable,Comparable<ConditionTaskOp>
@Generated public enum ConditionTaskOp extends Enum<ConditionTaskOp>
* `EQUAL_TO`, `NOT_EQUAL` operators perform string comparison of their operands. This means that `“12.0” == “12”` will evaluate to `false`. * `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL` operators perform numeric comparison of their operands. `“12.0” >= “12”` will evaluate to `true`, `“10.0” >= “12”` will evaluate to `false`.The boolean comparison to task values can be implemented with operators `EQUAL_TO`, `NOT_EQUAL`. If a task value was set to a boolean value, it will be serialized to `“true”` or `“false”` for the comparison.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL_TOGREATER_THANGREATER_THAN_OR_EQUALLESS_THANLESS_THAN_OR_EQUALNOT_EQUAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConditionTaskOpvalueOf(String name)Returns the enum constant of this type with the specified name.static ConditionTaskOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL_TO
public static final ConditionTaskOp EQUAL_TO
-
GREATER_THAN
public static final ConditionTaskOp GREATER_THAN
-
GREATER_THAN_OR_EQUAL
public static final ConditionTaskOp GREATER_THAN_OR_EQUAL
-
LESS_THAN
public static final ConditionTaskOp LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final ConditionTaskOp LESS_THAN_OR_EQUAL
-
NOT_EQUAL
public static final ConditionTaskOp NOT_EQUAL
-
-
Method Detail
-
values
public static ConditionTaskOp[] 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 (ConditionTaskOp c : ConditionTaskOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionTaskOp valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-