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()
GitConfig
getOutPath
in interface GitConfig
public String getBranch()
GitConfig
public String getOrigin()
GitConfig
public String getRepoName()
GitConfig
getRepoName
in interface GitConfig
public void setOutPath(String outPath)
public void setBranch(String branch)
public void setOrigin(String origin)
public void setRepoName(String repoName)
public String getCreateRepo()
GitConfig
getCreateRepo
in interface GitConfig
public void setCreateRepo(String createRepo)
public GitConfig asNewClone(GitConfig source)
asNewClone
in interface CloneableConfig<GitConfig>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.