ChainingTrigger Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Trigger - com.
azure. analytics. synapse. artifacts. models. ChainingTrigger
- com.
- com.
public class ChainingTrigger
extends Trigger
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
| Constructor | Description |
|---|---|
| ChainingTrigger() |
Creates an instance of Chaining |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Chaining |
fromJson(JsonReader jsonReader)
Reads an instance of Chaining |
|
List<Pipeline |
getDependsOn()
Get the depends |
|
Trigger |
getPipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully. |
| String |
getRunDimension()
Get the run |
| String |
getType()
Get the type property: Trigger type. |
|
Chaining |
setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger. |
|
Chaining |
setDependsOn(List<PipelineReference> dependsOn)
Set the depends |
|
Chaining |
setDescription(String description)
Set the description property: Trigger description. |
|
Chaining |
setPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully. |
|
Chaining |
setRunDimension(String runDimension)
Set the run |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from Trigger
Methods inherited from java.lang.Object
Constructor Details
ChainingTrigger
public ChainingTrigger()
Creates an instance of ChainingTrigger class.
Method Details
fromJson
public static ChainingTrigger fromJson(JsonReader jsonReader)
Reads an instance of ChainingTrigger from the JsonReader.
Parameters:
Returns:
Throws:
getDependsOn
public List<PipelineReference> getDependsOn()
Get the dependsOn property: Upstream Pipelines.
Returns:
getPipeline
public TriggerPipelineReference getPipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
Returns:
getRunDimension
public String getRunDimension()
Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
Returns:
getType
public String getType()
Get the type property: Trigger type.
Overrides:
ChainingTrigger.getType()Returns:
setAnnotations
public ChainingTrigger setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.
Overrides:
ChainingTrigger.setAnnotations(List<Object> annotations)Parameters:
setDependsOn
public ChainingTrigger setDependsOn(List<PipelineReference> dependsOn)
Set the dependsOn property: Upstream Pipelines.
Parameters:
Returns:
setDescription
public ChainingTrigger setDescription(String description)
Set the description property: Trigger description.
Overrides:
ChainingTrigger.setDescription(String description)Parameters:
setPipeline
public ChainingTrigger setPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
Parameters:
Returns:
setRunDimension
public ChainingTrigger setRunDimension(String runDimension)
Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ChainingTrigger.toJson(JsonWriter jsonWriter)Parameters:
Throws: