public class Build extends KubernetesResource implements IBuild
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE| Constructor and Description |
|---|
Build(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels a build if its status is not "Complete", "Failed", or "Cancelled"
|
<T extends IBuildSource> |
getBuildSource() |
IBuildStatus |
getBuildStatus() |
<T extends IBuildStrategy> |
getBuildStrategy() |
String |
getMessage()
Returns the details about the status of this build
|
String |
getOutputKind() |
DockerImageURI |
getOutputTo() |
String |
getPodName()
Returns the name of the pod running the build
|
String |
getPushSecret() |
String |
getStatus()
Returns the status of the buld
|
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNamespaceName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic String getStatus()
IBuildpublic String getMessage()
IBuildgetMessage in interface IBuildpublic String getPodName()
IBuildgetPodName in interface IBuildpublic boolean cancel()
IBuildpublic DockerImageURI getOutputTo()
getOutputTo in interface IBuildpublic String getOutputKind()
getOutputKind in interface IBuildpublic <T extends IBuildSource> T getBuildSource()
getBuildSource in interface IBuildpublic <T extends IBuildStrategy> T getBuildStrategy()
getBuildStrategy in interface IBuildpublic String getPushSecret()
getPushSecret in interface IBuildpublic IBuildStatus getBuildStatus()
getBuildStatus in interface IBuildCopyright © 2019 Red Hat, Inc. All Rights Reserved.