Interface Step.Builder

    • Method Detail

      • stepName

        Step.Builder stepName​(String stepName)

        The name of the execution step.

        Parameters:
        stepName - The name of the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        Step.Builder startTime​(Instant startTime)

        The start date and time of the execution step.

        Parameters:
        startTime - The start date and time of the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Step.Builder status​(String status)

        The status of the execution step.

        Parameters:
        status - The status of the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • status

        Step.Builder status​(JobStatus status)

        The status of the execution step.

        Parameters:
        status - The status of the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • endTime

        Step.Builder endTime​(Instant endTime)

        The end date and time of the execution step.

        Parameters:
        endTime - The end date and time of the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logUrl

        Step.Builder logUrl​(String logUrl)

        The URL to the logs for the execution step.

        Parameters:
        logUrl - The URL to the logs for the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • artifactsUrl

        Step.Builder artifactsUrl​(String artifactsUrl)

        The URL to the artifact for the execution step.

        Parameters:
        artifactsUrl - The URL to the artifact for the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testArtifactsUrl

        Step.Builder testArtifactsUrl​(String testArtifactsUrl)

        The URL to the test artifact for the execution step.

        Parameters:
        testArtifactsUrl - The URL to the test artifact for the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testConfigUrl

        Step.Builder testConfigUrl​(String testConfigUrl)

        The URL to the test configuration for the execution step.

        Parameters:
        testConfigUrl - The URL to the test configuration for the execution step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • screenshots

        Step.Builder screenshots​(Map<String,​String> screenshots)

        The list of screenshot URLs for the execution step, if relevant.

        Parameters:
        screenshots - The list of screenshot URLs for the execution step, if relevant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReason

        Step.Builder statusReason​(String statusReason)

        The reason for the current step status.

        Parameters:
        statusReason - The reason for the current step status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • context

        Step.Builder context​(String context)

        The context for the current step. Includes a build image if the step is build.

        Parameters:
        context - The context for the current step. Includes a build image if the step is build.
        Returns:
        Returns a reference to this object so that method calls can be chained together.