public class GitConfigImpl extends Object implements GitConfig, CloneableConfig<GitConfig>
| Constructor and Description |
|---|
GitConfigImpl() |
GitConfigImpl(String outPath,
String branch,
String origin,
String repoName,
String createRepo) |
| Modifier and Type | Method and Description |
|---|---|
GitConfig |
asNewClone(GitConfig source) |
String |
getBranch()
Get the Branch Name of the repository that will be used
|
String |
getCreateRepo()
Get String to find out if we need to create the repo or not.
|
String |
getOrigin()
Get the Origin address
|
String |
getOutPath()
Get the OutPath where the repo is going to be stored
|
String |
getRepoName()
Get the Repository Name
|
void |
setBranch(String branch) |
void |
setCreateRepo(String createRepo) |
void |
setOrigin(String origin) |
void |
setOutPath(String outPath) |
void |
setRepoName(String repoName) |
String |
toString() |
public String getOutPath()
GitConfiggetOutPath in interface GitConfigpublic String getBranch()
GitConfigpublic String getOrigin()
GitConfigpublic String getRepoName()
GitConfiggetRepoName in interface GitConfigpublic void setOutPath(String outPath)
public void setBranch(String branch)
public void setOrigin(String origin)
public void setRepoName(String repoName)
public String getCreateRepo()
GitConfiggetCreateRepo in interface GitConfigpublic void setCreateRepo(String createRepo)
public GitConfig asNewClone(GitConfig source)
asNewClone in interface CloneableConfig<GitConfig>Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.