Class ChainingTrigger
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Trigger
com.azure.analytics.synapse.artifacts.models.ChainingTrigger
Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs.
Upstream pipelines should declare the same runDimension Name and their runs should have the values for those
runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all
upstream pipeline runs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dependsOn property: Upstream Pipelines.Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.setAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the trigger.setDependsOn
(List<PipelineReference> dependsOn) Set the dependsOn property: Upstream Pipelines.setDescription
(String description) Set the description property: Trigger description.setPipeline
(TriggerPipelineReference pipeline) Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.setRunDimension
(String runDimension) Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.Methods inherited from class com.azure.analytics.synapse.artifacts.models.Trigger
getAdditionalProperties, getAnnotations, getDescription, getRuntimeState, setAdditionalProperties
-
Constructor Details
-
ChainingTrigger
public ChainingTrigger()
-
-
Method Details
-
getPipeline
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.- Returns:
- the pipeline value.
-
setPipeline
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.- Parameters:
pipeline
- the pipeline value to set.- Returns:
- the ChainingTrigger object itself.
-
getDependsOn
Get the dependsOn property: Upstream Pipelines.- Returns:
- the dependsOn value.
-
setDependsOn
Set the dependsOn property: Upstream Pipelines.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the ChainingTrigger object itself.
-
getRunDimension
Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.- Returns:
- the runDimension value.
-
setRunDimension
Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.- Parameters:
runDimension
- the runDimension value to set.- Returns:
- the ChainingTrigger object itself.
-
setDescription
Set the description property: Trigger description.- Overrides:
setDescription
in classTrigger
- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
setAnnotations
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
setAnnotations
in classTrigger
- Parameters:
annotations
- the annotations value to set.- Returns:
- the Trigger object itself.
-