public interface IBuildRequest extends IResource
| Modifier and Type | Method and Description |
|---|---|
void |
addBuildCause(String cause)
Add a human readable short explanation of why this build request was issued
|
List<String> |
getBuildCauses()
Get the list of human readable short explanations of why this build request
was issued
|
String |
getCommitId()
Get the commit level for the git clone extraction of the source code the
build operates against
|
void |
setCommitId(String commitId)
Set the commit level for the git clone extraction of the source code the
build operates against
|
void |
setEnvironmentVariable(String name,
String value)
Sets an environment variable in this build request
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonvoid setCommitId(String commitId)
commitId - the specific hexadecimal commit ID associated with a git log levelString getCommitId()
void addBuildCause(String cause)
cause - the description to add to the list of causes for this requestList<String> getBuildCauses()
Copyright © 2020 Red Hat, Inc. All Rights Reserved.