ChainingTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Trigger - com.
azure. resourcemanager. datafactory. models. ChainingTrigger
- com.
- com.
public final 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 |
|---|---|
|
List<Pipeline |
dependsOn()
Get the depends |
|
static
Chaining |
fromJson(JsonReader jsonReader)
Reads an instance of Chaining |
|
Trigger |
pipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully. |
| String |
runDimension()
Get the run |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Trigger type. |
| void |
validate()
Validates the instance. |
|
Chaining |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger. |
|
Chaining |
withDependsOn(List<PipelineReference> dependsOn)
Set the depends |
|
Chaining |
withDescription(String description)
Set the description property: Trigger description. |
|
Chaining |
withPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully. |
|
Chaining |
withRunDimension(String runDimension)
Set the run |
Methods inherited from Trigger
Methods inherited from java.lang.Object
Constructor Details
ChainingTrigger
public ChainingTrigger()
Creates an instance of ChainingTrigger class.
Method Details
dependsOn
public List<PipelineReference> dependsOn()
Get the dependsOn property: Upstream Pipelines.
Returns:
fromJson
public static ChainingTrigger fromJson(JsonReader jsonReader)
Reads an instance of ChainingTrigger from the JsonReader.
Parameters:
Returns:
Throws:
pipeline
public TriggerPipelineReference pipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
Returns:
runDimension
public String runDimension()
Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ChainingTrigger.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Trigger type.
Overrides:
ChainingTrigger.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ChainingTrigger.validate()withAnnotations
public ChainingTrigger withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.
Overrides:
ChainingTrigger.withAnnotations(List<Object> annotations)Parameters:
withDependsOn
public ChainingTrigger withDependsOn(List<PipelineReference> dependsOn)
Set the dependsOn property: Upstream Pipelines.
Parameters:
Returns:
withDescription
public ChainingTrigger withDescription(String description)
Set the description property: Trigger description.
Overrides:
ChainingTrigger.withDescription(String description)Parameters:
withPipeline
public ChainingTrigger withPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
Parameters:
Returns:
withRunDimension
public ChainingTrigger withRunDimension(String runDimension)
Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
Parameters:
Returns: