@PublicEvolving public enum InputDependencyConstraint extends Enum<InputDependencyConstraint>
Enum Constant and Description |
---|
ALL
Schedule the task if all the inputs are consumable.
|
ANY
Schedule the task if any input is consumable.
|
Modifier and Type | Method and Description |
---|---|
static InputDependencyConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputDependencyConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputDependencyConstraint ANY
public static final InputDependencyConstraint ALL
public static InputDependencyConstraint[] values()
for (InputDependencyConstraint c : InputDependencyConstraint.values()) System.out.println(c);
public static InputDependencyConstraint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.