public class GitClient extends Object
| Constructor and Description |
|---|
GitClient(com.openshift.client.IApplication app) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(List<String> deployments,
File workingCopyDir,
String relativeDeployDir) |
void |
deploy(List<String> deployments,
File workingCopyDir,
String relativeDeployDir,
String commitMsg)
Deploy the deployment units through Git
|
void |
setLogger(Logger log) |
public void setLogger(Logger log)
public void deploy(List<String> deployments, File workingCopyDir, String relativeDeployDir) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void deploy(List<String> deployments, File workingCopyDir, String relativeDeployDir, String commitMsg) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
deployments - list of packages to be deployedworkingCopyDir - where git repo will be clonedgitDeploymentDir - the relative path in the working copy where the deployment packages should be copiedcommitMsg - git commit messageIOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionorg.eclipse.jgit.api.errors.TransportExceptionorg.eclipse.jgit.api.errors.InvalidRemoteExceptionCopyright © 2004-2014. All Rights Reserved.