public class ChainingTrigger extends Trigger
| Constructor and Description |
|---|
ChainingTrigger() |
| Modifier and Type | Method and Description |
|---|---|
List<PipelineReference> |
dependsOn()
Get the dependsOn property: Upstream Pipelines.
|
TriggerPipelineReference |
pipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
|
String |
runDimension()
Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
|
void |
validate()
Validates the instance.
|
ChainingTrigger |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.
|
ChainingTrigger |
withDependsOn(List<PipelineReference> dependsOn)
Set the dependsOn property: Upstream Pipelines.
|
ChainingTrigger |
withDescription(String description)
Set the description property: Trigger description.
|
ChainingTrigger |
withPipeline(TriggerPipelineReference pipeline)
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.
|
ChainingTrigger |
withRunDimension(String runDimension)
Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.
|
additionalProperties, annotations, description, runtimeState, withAdditionalPropertiespublic TriggerPipelineReference pipeline()
public ChainingTrigger withPipeline(TriggerPipelineReference pipeline)
pipeline - the pipeline value to set.public List<PipelineReference> dependsOn()
public ChainingTrigger withDependsOn(List<PipelineReference> dependsOn)
dependsOn - the dependsOn value to set.public String runDimension()
public ChainingTrigger withRunDimension(String runDimension)
runDimension - the runDimension value to set.public ChainingTrigger withDescription(String description)
withDescription in class Triggerdescription - the description value to set.public ChainingTrigger withAnnotations(List<Object> annotations)
withAnnotations in class Triggerannotations - the annotations value to set.public void validate()
validate in class TriggerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.