public interface IBuildConfig extends IResource
| 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.
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonIObjectReference getBuildOutputReference()
String getSourceURI()
List<IBuildTrigger> getBuildTriggers()
void addBuildTrigger(IBuildTrigger trigger)
<T extends IBuildSource> T getBuildSource()
void setBuildSource(IBuildSource source)
<T extends IBuildStrategy> T getBuildStrategy()
void setBuildStrategy(IBuildStrategy strategy)
String getOutputRepositoryName()
Copyright © 2020 Red Hat, Inc. All Rights Reserved.