Class GitProducer
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultProducer
org.apache.camel.component.git.producer.GitProducer
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.EndpointAware,org.apache.camel.IsSingleton,org.apache.camel.Processor,org.apache.camel.Producer,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
public class GitProducer
extends org.apache.camel.support.DefaultProducer
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voiddoCheckout(String operation) protected voiddoCherryPick(org.apache.camel.Exchange exchange, String operation) protected voidprotected voidprotected voidprotected voiddoCommitAll(org.apache.camel.Exchange exchange, String operation) protected voiddoCreateBranch(String operation) protected voiddoCreateTag(String operation) protected voiddoDeleteBranch(String operation) protected voiddoDeleteTag(String operation) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voiddoRemoteAdd(org.apache.camel.Exchange exchange, String operation) protected voiddoRemoteList(org.apache.camel.Exchange exchange, String operation) protected voidprotected voiddoShowBranches(org.apache.camel.Exchange exchange, String operation) protected voiddoShowTags(org.apache.camel.Exchange exchange, String operation) protected voiddoStart()protected voidprotected voiddoStop()voidprocess(org.apache.camel.Exchange exchange) Methods inherited from class org.apache.camel.support.DefaultProducer
createExchange, getEndpoint, isSingleton, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
GitProducer
-
-
Method Details
-
doStart
- Overrides:
doStartin classorg.apache.camel.support.DefaultProducer- Throws:
Exception
-
doStop
- Overrides:
doStopin classorg.apache.camel.support.DefaultProducer- Throws:
Exception
-
process
- Throws:
Exception
-
doClone
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCheckout
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doInit
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doAdd
protected void doAdd(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doRemove
protected void doRemove(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCommit
protected void doCommit(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCommitAll
protected void doCommitAll(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCreateBranch
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doDeleteBranch
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doStatus
protected void doStatus(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doLog
protected void doLog(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doPush
protected void doPush(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doPushTag
protected void doPushTag(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doPull
protected void doPull(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doMerge
protected void doMerge(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.errors.ConfigInvalidException, org.eclipse.jgit.api.errors.GitAPIException, IOException - Throws:
org.eclipse.jgit.errors.ConfigInvalidExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionIOException
-
doCreateTag
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doDeleteTag
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doShowBranches
protected void doShowBranches(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doShowTags
protected void doShowTags(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCherryPick
protected void doCherryPick(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException, IOException - Throws:
org.eclipse.jgit.api.errors.GitAPIExceptionIOException
-
doClean
protected void doClean(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doGc
protected void doGc(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doRemoteAdd
protected void doRemoteAdd(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException, URISyntaxException - Throws:
org.eclipse.jgit.api.errors.GitAPIExceptionURISyntaxException
-
doRemoteList
protected void doRemoteList(org.apache.camel.Exchange exchange, String operation) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-