Class OpenLineageJobDependenciesRunFacetDependency

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobDependenciesRunFacetDependency

public class OpenLineageJobDependenciesRunFacetDependency extends Object
This class represents a single upstream or downstream job dependency. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageJobDependenciesRunFacetDependency

      public OpenLineageJobDependenciesRunFacetDependency()
      Default constructor
  • Method Details

    • getJob

      Return the job that this run depends on, or that depends on this run.
      Returns:
      bean
    • setJob

      Set up the job that this run depends on, or that depends on this run.
      Parameters:
      job - bean
    • getRun

      Return the specific run of the job, if known.
      Returns:
      bean
    • setRun

      Set up the specific run of the job, if known.
      Parameters:
      run - bean
    • getDependencyType

      public String getDependencyType()
      Return the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).
      Returns:
      string
    • setDependencyType

      public void setDependencyType(String dependencyType)
      Set up the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).
      Parameters:
      dependencyType - string
    • getSequenceTriggerRule

      public String getSequenceTriggerRule()
      Return the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.
      Returns:
      string
    • setSequenceTriggerRule

      public void setSequenceTriggerRule(String sequenceTriggerRule)
      Set up the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.
      Parameters:
      sequenceTriggerRule - string
    • getStatusTriggerRule

      public String getStatusTriggerRule()
      Return the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.
      Returns:
      string
    • setStatusTriggerRule

      public void setStatusTriggerRule(String statusTriggerRule)
      Set up the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.
      Parameters:
      statusTriggerRule - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int