Class BuildStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<BuildStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BuildStatus contains the status of a build
    See Also:
    Serialized Form
    • Method Detail

      • getCancelled

        public Boolean getCancelled()
        cancelled describes if a cancel event was triggered for the build.
      • setCancelled

        public void setCancelled​(Boolean cancelled)
        cancelled describes if a cancel event was triggered for the build.
      • getCompletionTimestamp

        public String getCompletionTimestamp()
        BuildStatus contains the status of a build
      • setCompletionTimestamp

        public void setCompletionTimestamp​(String completionTimestamp)
        BuildStatus contains the status of a build
      • getConditions

        public List<BuildCondition> getConditions()
        conditions represents the latest available observations of a build's current state.
      • setConditions

        public void setConditions​(List<BuildCondition> conditions)
        conditions represents the latest available observations of a build's current state.
      • getConfig

        public io.fabric8.kubernetes.api.model.ObjectReference getConfig()
        BuildStatus contains the status of a build
      • setConfig

        public void setConfig​(io.fabric8.kubernetes.api.model.ObjectReference config)
        BuildStatus contains the status of a build
      • getDuration

        public Long getDuration()
        duration contains time.Duration object describing build time.
      • setDuration

        public void setDuration​(Long duration)
        duration contains time.Duration object describing build time.
      • getLogSnippet

        public String getLogSnippet()
        logSnippet is the last few lines of the build log. This value is only set for builds that failed.
      • setLogSnippet

        public void setLogSnippet​(String logSnippet)
        logSnippet is the last few lines of the build log. This value is only set for builds that failed.
      • getMessage

        public String getMessage()
        message is a human-readable message indicating details about why the build has this status.
      • setMessage

        public void setMessage​(String message)
        message is a human-readable message indicating details about why the build has this status.
      • getOutput

        public BuildStatusOutput getOutput()
        BuildStatus contains the status of a build
      • setOutput

        public void setOutput​(BuildStatusOutput output)
        BuildStatus contains the status of a build
      • getOutputDockerImageReference

        public String getOutputDockerImageReference()
        outputDockerImageReference contains a reference to the container image that will be built by this build. Its value is computed from Build.Spec.Output.To, and should include the registry address, so that it can be used to push and pull the image.
      • setOutputDockerImageReference

        public void setOutputDockerImageReference​(String outputDockerImageReference)
        outputDockerImageReference contains a reference to the container image that will be built by this build. Its value is computed from Build.Spec.Output.To, and should include the registry address, so that it can be used to push and pull the image.
      • getPhase

        public String getPhase()
        phase is the point in the build lifecycle. Possible values are "New", "Pending", "Running", "Complete", "Failed", "Error", and "Cancelled".
      • setPhase

        public void setPhase​(String phase)
        phase is the point in the build lifecycle. Possible values are "New", "Pending", "Running", "Complete", "Failed", "Error", and "Cancelled".
      • getReason

        public String getReason()
        reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      • setReason

        public void setReason​(String reason)
        reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
      • getStages

        public List<StageInfo> getStages()
        stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage.
      • setStages

        public void setStages​(List<StageInfo> stages)
        stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage.
      • getStartTimestamp

        public String getStartTimestamp()
        BuildStatus contains the status of a build
      • setStartTimestamp

        public void setStartTimestamp​(String startTimestamp)
        BuildStatus contains the status of a build
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)