public abstract class BinaryBuild extends Object implements ManagedBuild
| Modifier and Type | Field and Description |
|---|---|
protected io.fabric8.openshift.api.model.BuildConfig |
bc |
protected String |
contentHash |
protected io.fabric8.openshift.api.model.ImageStream |
is |
| Constructor and Description |
|---|
BinaryBuild(String builderImage,
Path path,
Map<String,String> envProperties,
String id) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
configureBuildStrategy(io.fabric8.openshift.api.model.BuildConfigSpecBuilder builder,
String builderImage,
List<io.fabric8.kubernetes.api.model.EnvVar> envs) |
void |
delete(OpenShift openShift) |
protected abstract String |
getContentHash() |
protected abstract List<io.fabric8.kubernetes.api.model.EnvVar> |
getEnv(io.fabric8.openshift.api.model.BuildConfig bc) |
protected abstract String |
getImage(io.fabric8.openshift.api.model.BuildConfig bc) |
Waiter |
hasCompleted(OpenShift openShift) |
protected boolean |
isCached() |
boolean |
isPresent(OpenShift openShift) |
boolean |
needsUpdate(OpenShift openShift) |
void |
update(OpenShift openShift) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, getIdprotected final io.fabric8.openshift.api.model.ImageStream is
protected final io.fabric8.openshift.api.model.BuildConfig bc
protected String contentHash
public void update(OpenShift openShift)
update in interface ManagedBuildpublic void delete(OpenShift openShift)
delete in interface ManagedBuildpublic boolean isPresent(OpenShift openShift)
isPresent in interface ManagedBuildprotected abstract List<io.fabric8.kubernetes.api.model.EnvVar> getEnv(io.fabric8.openshift.api.model.BuildConfig bc)
protected abstract void configureBuildStrategy(io.fabric8.openshift.api.model.BuildConfigSpecBuilder builder,
String builderImage,
List<io.fabric8.kubernetes.api.model.EnvVar> envs)
protected abstract String getImage(io.fabric8.openshift.api.model.BuildConfig bc)
protected abstract String getContentHash()
protected boolean isCached()
public boolean needsUpdate(OpenShift openShift)
needsUpdate in interface ManagedBuildpublic Waiter hasCompleted(OpenShift openShift)
hasCompleted in interface ManagedBuildCopyright © 2023. All rights reserved.