Enum ActiveIf.EvaluationStrategy
- java.lang.Object
-
- java.lang.Enum<ActiveIf.EvaluationStrategy>
-
- org.talend.sdk.component.api.configuration.condition.ActiveIf.EvaluationStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<ActiveIf.EvaluationStrategy>
- Enclosing class:
- ActiveIf
public static enum ActiveIf.EvaluationStrategy extends Enum<ActiveIf.EvaluationStrategy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActiveIf.EvaluationStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActiveIf.EvaluationStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ActiveIf.EvaluationStrategy DEFAULT
Use the raw value.
-
LENGTH
public static final ActiveIf.EvaluationStrategy LENGTH
For an array or string, evaluate the size of the value instead of the value itself.
-
CONTAINS
public static final ActiveIf.EvaluationStrategy CONTAINS
Check if a string or list of string contains a value.
-
-
Method Detail
-
values
public static ActiveIf.EvaluationStrategy[] 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 (ActiveIf.EvaluationStrategy c : ActiveIf.EvaluationStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActiveIf.EvaluationStrategy 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
-
-