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.
|
<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, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
String getSourceURI()
List<IBuildTrigger> getBuildTriggers()
void addBuildTrigger(IBuildTrigger trigger)
trigger
- <T extends IBuildSource> T getBuildSource()
void setBuildSource(IBuildSource source)
source
- <T extends IBuildStrategy> T getBuildStrategy()
void setBuildStrategy(IBuildStrategy strategy)
strategy
- String getOutputRepositoryName()
Copyright © 2016 Red Hat, Inc. All rights reserved.