class_docstr: This constraint indicates when a task should be scheduled considering its inputs status.
  
  :data:`ANY`:
  
  Schedule the task if any input is consumable.
  
  :data:`ALL`:
  
  Schedule the task if all the inputs are consumable.
class_docstr_tok: ["This","constraint","indicates","when","a","task","should","be","scheduled","considering","its","inputs","status",".",":","data",":","`","ANY","`",":","Schedule","the","task","if","any","input","is","consumable",".",":","data",":","`","ALL","`",":","Schedule","the","task","if","all","the","inputs","are","consumable","."]
code: def _to_j_input_dependency_constraint(self):
      gateway = get_gateway()
      JInputDependencyConstraint = (
          gateway.jvm.org.apache.flink.api.common.InputDependencyConstraint
      )
      return getattr(JInputDependencyConstraint, self.name)
  
imports: from enum import Enum
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 2 for calling the InputDependencyConstraint obj's underlying member method code with example usage: obj._to_j_input_dependency_constraint() and returns: getattr