Class EncodedTaskStep


  • public final class EncodedTaskStep
    extends TaskStepProperties
    The properties of a encoded task step.
    • Constructor Detail

      • EncodedTaskStep

        public EncodedTaskStep()
    • Method Detail

      • encodedTaskContent

        public String encodedTaskContent()
        Get the encodedTaskContent property: Base64 encoded value of the template/definition file content.
        Returns:
        the encodedTaskContent value.
      • withEncodedTaskContent

        public EncodedTaskStep withEncodedTaskContent​(String encodedTaskContent)
        Set the encodedTaskContent property: Base64 encoded value of the template/definition file content.
        Parameters:
        encodedTaskContent - the encodedTaskContent value to set.
        Returns:
        the EncodedTaskStep object itself.
      • encodedValuesContent

        public String encodedValuesContent()
        Get the encodedValuesContent property: Base64 encoded value of the parameters/values file content.
        Returns:
        the encodedValuesContent value.
      • withEncodedValuesContent

        public EncodedTaskStep withEncodedValuesContent​(String encodedValuesContent)
        Set the encodedValuesContent property: Base64 encoded value of the parameters/values file content.
        Parameters:
        encodedValuesContent - the encodedValuesContent value to set.
        Returns:
        the EncodedTaskStep object itself.
      • values

        public List<SetValue> values()
        Get the values property: The collection of overridable values that can be passed when running a task.
        Returns:
        the values value.
      • withValues

        public EncodedTaskStep withValues​(List<SetValue> values)
        Set the values property: The collection of overridable values that can be passed when running a task.
        Parameters:
        values - the values value to set.
        Returns:
        the EncodedTaskStep object itself.
      • withContextPath

        public EncodedTaskStep withContextPath​(String contextPath)
        Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
        Overrides:
        withContextPath in class TaskStepProperties
        Parameters:
        contextPath - the contextPath value to set.
        Returns:
        the TaskStepProperties object itself.
      • withContextAccessToken

        public EncodedTaskStep withContextAccessToken​(String contextAccessToken)
        Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.
        Overrides:
        withContextAccessToken in class TaskStepProperties
        Parameters:
        contextAccessToken - the contextAccessToken value to set.
        Returns:
        the TaskStepProperties object itself.