Class GitControl
java.lang.Object
org.apache.juneau.server.config.repository.GitControl
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
GitControl- Throws:
- IOException
 
 
- 
- 
Method Details- 
cloneRepopublic 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
 
- 
addToRepopublic 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
 
- 
commitToRepopublic 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
 
- 
branchpublic 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
 
- 
pushToRepopublic 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
 
- 
pullFromRepopublic 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
 
 
-