Package io.fabric8.openshift.api.model
Class BuildStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.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
-
-
Constructor Summary
Constructors Constructor Description BuildStatus()No args constructor for use in serializationBuildStatus(Boolean cancelled, String completionTimestamp, List<BuildCondition> conditions, io.fabric8.kubernetes.api.model.ObjectReference config, Long duration, String logSnippet, String message, BuildStatusOutput output, String outputDockerImageReference, String phase, String reason, List<StageInfo> stages, String startTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildStatusBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetCancelled()cancelled describes if a cancel event was triggered for the build.StringgetCompletionTimestamp()BuildStatus contains the status of a buildList<BuildCondition>getConditions()conditions represents the latest available observations of a build's current state.io.fabric8.kubernetes.api.model.ObjectReferencegetConfig()BuildStatus contains the status of a buildLonggetDuration()duration contains time.Duration object describing build time.StringgetLogSnippet()logSnippet is the last few lines of the build log.StringgetMessage()message is a human-readable message indicating details about why the build has this status.BuildStatusOutputgetOutput()BuildStatus contains the status of a buildStringgetOutputDockerImageReference()outputDockerImageReference contains a reference to the container image that will be built by this build.StringgetPhase()phase is the point in the build lifecycle.StringgetReason()reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.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.StringgetStartTimestamp()BuildStatus contains the status of a buildvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCancelled(Boolean cancelled)cancelled describes if a cancel event was triggered for the build.voidsetCompletionTimestamp(String completionTimestamp)BuildStatus contains the status of a buildvoidsetConditions(List<BuildCondition> conditions)conditions represents the latest available observations of a build's current state.voidsetConfig(io.fabric8.kubernetes.api.model.ObjectReference config)BuildStatus contains the status of a buildvoidsetDuration(Long duration)duration contains time.Duration object describing build time.voidsetLogSnippet(String logSnippet)logSnippet is the last few lines of the build log.voidsetMessage(String message)message is a human-readable message indicating details about why the build has this status.voidsetOutput(BuildStatusOutput output)BuildStatus contains the status of a buildvoidsetOutputDockerImageReference(String outputDockerImageReference)outputDockerImageReference contains a reference to the container image that will be built by this build.voidsetPhase(String phase)phase is the point in the build lifecycle.voidsetReason(String reason)reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.voidsetStages(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.voidsetStartTimestamp(String startTimestamp)BuildStatus contains the status of a buildBuildStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildStatus
public BuildStatus()
No args constructor for use in serialization
-
BuildStatus
public BuildStatus(Boolean cancelled, String completionTimestamp, List<BuildCondition> conditions, io.fabric8.kubernetes.api.model.ObjectReference config, Long duration, String logSnippet, String message, BuildStatusOutput output, String outputDockerImageReference, String phase, String reason, List<StageInfo> stages, String startTimestamp)
-
-
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
-
edit
public BuildStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildStatusBuilder>
-
toBuilder
public BuildStatusBuilder toBuilder()
-
-