Class ExecutePipelineActivity


public final class ExecutePipelineActivity extends ControlActivity
Execute pipeline activity.
  • Constructor Details

    • ExecutePipelineActivity

      public ExecutePipelineActivity()
      Creates an instance of ExecutePipelineActivity class.
  • Method Details

    • policy

      Get the policy property: Execute pipeline activity policy.
      Returns:
      the policy value.
    • withPolicy

      Set the policy property: Execute pipeline activity policy.
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutePipelineActivity object itself.
    • withName

      public ExecutePipelineActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ControlActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public ExecutePipelineActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ControlActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public ExecutePipelineActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ControlActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public ExecutePipelineActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ControlActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • pipeline

      public PipelineReference pipeline()
      Get the pipeline property: Pipeline reference.
      Returns:
      the pipeline value.
    • withPipeline

      public ExecutePipelineActivity withPipeline(PipelineReference pipeline)
      Set the pipeline property: Pipeline reference.
      Parameters:
      pipeline - the pipeline value to set.
      Returns:
      the ExecutePipelineActivity object itself.
    • parameters

      public Map<String,Object> parameters()
      Get the parameters property: Pipeline parameters.
      Returns:
      the parameters value.
    • withParameters

      public ExecutePipelineActivity withParameters(Map<String,Object> parameters)
      Set the parameters property: Pipeline parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the ExecutePipelineActivity object itself.
    • waitOnCompletion

      public Boolean waitOnCompletion()
      Get the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.
      Returns:
      the waitOnCompletion value.
    • withWaitOnCompletion

      public ExecutePipelineActivity withWaitOnCompletion(Boolean waitOnCompletion)
      Set the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.
      Parameters:
      waitOnCompletion - the waitOnCompletion value to set.
      Returns:
      the ExecutePipelineActivity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ControlActivity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.