public class BuildConfig extends KubernetesResource implements IBuildConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILDCONFIG_DOCKER_BASEIMAGE |
static String |
BUILDCONFIG_DOCKER_CONTEXTDIR |
static String |
BUILDCONFIG_DOCKER_NOCACHE |
static String |
BUILDCONFIG_TYPE |
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE| Constructor and Description |
|---|
BuildConfig(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> overrideProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBuildTrigger(IBuildTrigger trigger)
Add a trigger to the list of triggers for this build.
|
<T extends IBuildSource> |
getBuildSource()
Returns the source info of the build
|
<T extends IBuildStrategy> |
getBuildStrategy()
Returns the strategy to for building the source
|
List<IBuildTrigger> |
getBuildTriggers()
Returns the policies which will trigger a build
|
String |
getOutputRepositoryName()
Retrieves the name of the repository where the
resulting build image will be pushed
|
String |
getSourceURI()
Returns the source URL for a build
|
void |
setBuildSource(IBuildSource source)
Set the source for the build.
|
void |
setBuildStrategy(IBuildStrategy strategy)
Set the strategy for how the build should be built.
|
void |
setOutput(DockerImageURI imageUri) |
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJsonaccept, getCapability, supportspublic static final String BUILDCONFIG_TYPE
public static final String BUILDCONFIG_DOCKER_CONTEXTDIR
public static final String BUILDCONFIG_DOCKER_NOCACHE
public static final String BUILDCONFIG_DOCKER_BASEIMAGE
public List<IBuildTrigger> getBuildTriggers()
IBuildConfiggetBuildTriggers in interface IBuildConfigpublic void addBuildTrigger(IBuildTrigger trigger)
IBuildConfigaddBuildTrigger in interface IBuildConfigpublic String getOutputRepositoryName()
IBuildConfiggetOutputRepositoryName in interface IBuildConfigpublic String getSourceURI()
IBuildConfiggetSourceURI in interface IBuildConfigpublic <T extends IBuildSource> T getBuildSource()
IBuildConfiggetBuildSource in interface IBuildConfigpublic void setBuildSource(IBuildSource source)
IBuildConfigsetBuildSource in interface IBuildConfigpublic void setBuildStrategy(IBuildStrategy strategy)
IBuildConfigsetBuildStrategy in interface IBuildConfigpublic void setOutput(DockerImageURI imageUri)
public <T extends IBuildStrategy> T getBuildStrategy()
IBuildConfiggetBuildStrategy in interface IBuildConfigCopyright © 2016 Red Hat, Inc. All rights reserved.