Class FileTaskRunRequestResponse


  • public final class FileTaskRunRequestResponse
    extends java.lang.Object
    • Method Detail

      • agentConfiguration

        public java.util.Optional<AgentPropertiesResponse> agentConfiguration()
        Returns:
        The machine configuration of the run agent.
      • agentPoolName

        public java.util.Optional<java.lang.String> agentPoolName()
        Returns:
        The dedicated agent pool for the run.
      • credentials

        public java.util.Optional<CredentialsResponse> credentials()
        Returns:
        The properties that describes a set of credentials that will be used when this run is invoked.
      • isArchiveEnabled

        public java.util.Optional<java.lang.Boolean> isArchiveEnabled()
        Returns:
        The value that indicates whether archiving is enabled for the run or not.
      • logTemplate

        public java.util.Optional<java.lang.String> logTemplate()
        Returns:
        The template that describes the repository and tag information for run log artifact.
      • sourceLocation

        public java.util.Optional<java.lang.String> sourceLocation()
        Returns:
        The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
      • taskFilePath

        public java.lang.String taskFilePath()
        Returns:
        The template/definition file path relative to the source.
      • timeout

        public java.util.Optional<java.lang.Integer> timeout()
        Returns:
        Run timeout in seconds.
      • type

        public java.lang.String type()
        Returns:
        The type of the run request. Expected value is 'FileTaskRunRequest'.
      • values

        public java.util.List<SetValueResponse> values()
        Returns:
        The collection of overridable values that can be passed when running a task.
      • valuesFilePath

        public java.util.Optional<java.lang.String> valuesFilePath()
        Returns:
        The values/parameters file path relative to the source.