Class GitControl
java.lang.Object
org.apache.juneau.server.config.repository.GitControl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GitControl
- Throws:
IOException
-
-
Method Details
-
cloneRepo
public void cloneRepo() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
-
addToRepo
public void addToRepo() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
-
commitToRepo
public void commitToRepo(String message) throws IOException, org.eclipse.jgit.api.errors.NoHeadException, org.eclipse.jgit.api.errors.NoMessageException, org.eclipse.jgit.api.errors.ConcurrentRefUpdateException, org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.api.errors.WrongRepositoryStateException, org.eclipse.jgit.api.errors.GitAPIException - Throws:
IOException
org.eclipse.jgit.api.errors.NoHeadException
org.eclipse.jgit.api.errors.NoMessageException
org.eclipse.jgit.api.errors.ConcurrentRefUpdateException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.api.errors.WrongRepositoryStateException
org.eclipse.jgit.api.errors.GitAPIException
-
branch
public void branch(String name) throws org.eclipse.jgit.api.errors.RefAlreadyExistsException, org.eclipse.jgit.api.errors.RefNotFoundException, org.eclipse.jgit.api.errors.InvalidRefNameException, org.eclipse.jgit.api.errors.CheckoutConflictException, org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.RefAlreadyExistsException
org.eclipse.jgit.api.errors.RefNotFoundException
org.eclipse.jgit.api.errors.InvalidRefNameException
org.eclipse.jgit.api.errors.CheckoutConflictException
org.eclipse.jgit.api.errors.GitAPIException
-
pushToRepo
public void pushToRepo() throws IOException, org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.api.errors.InvalidRemoteException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.api.errors.InvalidRemoteException
org.eclipse.jgit.api.errors.GitAPIException
-
pullFromRepo
public void pullFromRepo() throws IOException, org.eclipse.jgit.api.errors.WrongRepositoryStateException, org.eclipse.jgit.api.errors.InvalidConfigurationException, org.eclipse.jgit.api.errors.DetachedHeadException, org.eclipse.jgit.api.errors.InvalidRemoteException, org.eclipse.jgit.api.errors.CanceledException, org.eclipse.jgit.api.errors.RefNotFoundException, org.eclipse.jgit.api.errors.NoHeadException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOException
org.eclipse.jgit.api.errors.WrongRepositoryStateException
org.eclipse.jgit.api.errors.InvalidConfigurationException
org.eclipse.jgit.api.errors.DetachedHeadException
org.eclipse.jgit.api.errors.InvalidRemoteException
org.eclipse.jgit.api.errors.CanceledException
org.eclipse.jgit.api.errors.RefNotFoundException
org.eclipse.jgit.api.errors.NoHeadException
org.eclipse.jgit.api.errors.GitAPIException
-