public class GitBuildSource extends Object implements IGitBuildSource
| Constructor and Description |
|---|
GitBuildSource(String uri,
String ref,
String contextDir) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContextDir()
The sub-directory relative to the repo root where the source code for the
application exists.
|
String |
getRef()
The branch/tag/ref to build
|
String |
getType()
The BuildSourceType
|
String |
getURI()
The URI to the source repo
|
void |
setContextDir(String contextDir) |
void |
setRef(String ref) |
void |
setURI(String uri) |
public String getType()
IBuildSourcegetType in interface IBuildSourceBuildSourceTypepublic String getURI()
IGitBuildSourcegetURI in interface IGitBuildSourcepublic void setURI(String uri)
public String getRef()
IGitBuildSourcegetRef in interface IGitBuildSourcepublic void setRef(String ref)
public String getContextDir()
IBuildSourcegetContextDir in interface IBuildSourcepublic void setContextDir(String contextDir)
Copyright © 2019 Red Hat, Inc. All Rights Reserved.