Class GitControl
java.lang.Object
org.apache.juneau.server.config.repository.GitControl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GitControl
- Throws:
IOException
-
-
Method Details
-
addToRepo
public void addToRepo() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.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.RefAlreadyExistsExceptionorg.eclipse.jgit.api.errors.RefNotFoundExceptionorg.eclipse.jgit.api.errors.InvalidRefNameExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionorg.eclipse.jgit.api.errors.GitAPIException
-
cloneRepo
public void cloneRepo() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.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:
IOExceptionorg.eclipse.jgit.api.errors.NoHeadExceptionorg.eclipse.jgit.api.errors.NoMessageExceptionorg.eclipse.jgit.api.errors.ConcurrentRefUpdateExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.WrongRepositoryStateExceptionorg.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:
IOExceptionorg.eclipse.jgit.api.errors.WrongRepositoryStateExceptionorg.eclipse.jgit.api.errors.InvalidConfigurationExceptionorg.eclipse.jgit.api.errors.DetachedHeadExceptionorg.eclipse.jgit.api.errors.InvalidRemoteExceptionorg.eclipse.jgit.api.errors.CanceledExceptionorg.eclipse.jgit.api.errors.RefNotFoundExceptionorg.eclipse.jgit.api.errors.NoHeadExceptionorg.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:
IOExceptionorg.eclipse.jgit.api.errors.JGitInternalExceptionorg.eclipse.jgit.api.errors.InvalidRemoteExceptionorg.eclipse.jgit.api.errors.GitAPIException
-