Class OpenLineageJobDependenciesRunFacetDependency
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobDependenciesRunFacetDependency
This class represents a single upstream or downstream job dependency.
It is part of the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).getJob()Return the job that this run depends on, or that depends on this run.getRun()Return the specific run of the job, if known.Return the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.Return the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.inthashCode()Return hash code based on properties.voidsetDependencyType(String dependencyType) Set up the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).voidSet up the job that this run depends on, or that depends on this run.voidSet up the specific run of the job, if known.voidsetSequenceTriggerRule(String sequenceTriggerRule) Set up the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.voidsetStatusTriggerRule(String statusTriggerRule) Set up the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.toString()Standard toString method.
-
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
Return the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).- Returns:
- string
-
setDependencyType
Set up the whether the upstream job directly triggers the downstream job (TRIGGER) or the dependency is implicit (DEPENDENCY).- Parameters:
dependencyType- string
-
getSequenceTriggerRule
Return the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.- Returns:
- string
-
setSequenceTriggerRule
Set up the sequence condition on which the downstream job can be executed, for example FINISH_TO_START.- Parameters:
sequenceTriggerRule- string
-
getStatusTriggerRule
Return the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.- Returns:
- string
-
setStatusTriggerRule
Set up the status of the upstream job that permits the downstream job to run, for example ALL_SUCCESS.- Parameters:
statusTriggerRule- string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-