Package io.fabric8.openshift.api.model
Class BuildConfigStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.BuildConfigStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BuildConfigStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildConfigStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<BuildConfigStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BuildConfigStatus contains current state of the build config object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildConfigStatus()No args constructor for use in serializationBuildConfigStatus(List<ImageChangeTriggerStatus> imageChangeTriggers, Long lastVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildConfigStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<ImageChangeTriggerStatus>getImageChangeTriggers()imageChangeTriggers captures the runtime state of any ImageChangeTrigger specified in the BuildConfigSpec, including the value reconciled by the OpenShift APIServer for the lastTriggeredImageID.LonggetLastVersion()lastVersion is used to inform about number of last triggered build.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetImageChangeTriggers(List<ImageChangeTriggerStatus> imageChangeTriggers)imageChangeTriggers captures the runtime state of any ImageChangeTrigger specified in the BuildConfigSpec, including the value reconciled by the OpenShift APIServer for the lastTriggeredImageID.voidsetLastVersion(Long lastVersion)lastVersion is used to inform about number of last triggered build.BuildConfigStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildConfigStatus
public BuildConfigStatus()
No args constructor for use in serialization
-
BuildConfigStatus
public BuildConfigStatus(List<ImageChangeTriggerStatus> imageChangeTriggers, Long lastVersion)
-
-
Method Detail
-
getImageChangeTriggers
public List<ImageChangeTriggerStatus> getImageChangeTriggers()
imageChangeTriggers captures the runtime state of any ImageChangeTrigger specified in the BuildConfigSpec, including the value reconciled by the OpenShift APIServer for the lastTriggeredImageID. There is a single entry in this array for each image change trigger in spec. Each trigger status references the ImageStreamTag that acts as the source of the trigger.
-
setImageChangeTriggers
public void setImageChangeTriggers(List<ImageChangeTriggerStatus> imageChangeTriggers)
imageChangeTriggers captures the runtime state of any ImageChangeTrigger specified in the BuildConfigSpec, including the value reconciled by the OpenShift APIServer for the lastTriggeredImageID. There is a single entry in this array for each image change trigger in spec. Each trigger status references the ImageStreamTag that acts as the source of the trigger.
-
getLastVersion
public Long getLastVersion()
lastVersion is used to inform about number of last triggered build.
-
setLastVersion
public void setLastVersion(Long lastVersion)
lastVersion is used to inform about number of last triggered build.
-
edit
public BuildConfigStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildConfigStatusBuilder>
-
toBuilder
public BuildConfigStatusBuilder toBuilder()
-
-