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_SOURCE_BINARY_ASFILE |
static String |
BUILDCONFIG_SOURCE_CONTEXTDIR |
static String |
BUILDCONFIG_SOURCE_REF |
static String |
BUILDCONFIG_SOURCE_TYPE |
static String |
BUILDCONFIG_SOURCE_URI |
static String |
BUILDCONFIG_TYPE |
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| 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.
|
IObjectReference |
getBuildOutputReference()
To defines an optional location to push the output of this build to.
|
<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.
|
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 static final String BUILDCONFIG_SOURCE_CONTEXTDIR
public static final String BUILDCONFIG_SOURCE_TYPE
public static final String BUILDCONFIG_SOURCE_URI
public static final String BUILDCONFIG_SOURCE_REF
public static final String BUILDCONFIG_SOURCE_BINARY_ASFILE
public 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 IObjectReference getBuildOutputReference()
IBuildConfiggetBuildOutputReference in interface IBuildConfigpublic 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 <T extends IBuildStrategy> T getBuildStrategy()
IBuildConfiggetBuildStrategy in interface IBuildConfigCopyright © 2020 Red Hat, Inc. All Rights Reserved.