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
-
-
Constructor Summary
Constructors Constructor Description GitProducer(GitEndpoint endpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAdd(org.apache.camel.Exchange exchange, String operation)
protected void
doCheckout(String operation)
protected void
doCherryPick(org.apache.camel.Exchange exchange, String operation)
protected void
doClean(org.apache.camel.Exchange exchange, String operation)
protected void
doClone(String operation)
protected void
doCommit(org.apache.camel.Exchange exchange, String operation)
protected void
doCommitAll(org.apache.camel.Exchange exchange, String operation)
protected void
doCreateBranch(String operation)
protected void
doCreateTag(String operation)
protected void
doDeleteBranch(String operation)
protected void
doDeleteTag(String operation)
protected void
doGc(org.apache.camel.Exchange exchange, String operation)
protected void
doInit(String operation)
protected void
doLog(org.apache.camel.Exchange exchange, String operation)
protected void
doMerge(org.apache.camel.Exchange exchange, String operation)
protected void
doPull(org.apache.camel.Exchange exchange, String operation)
protected void
doPush(org.apache.camel.Exchange exchange, String operation)
protected void
doPushTag(org.apache.camel.Exchange exchange, String operation)
protected void
doRemoteAdd(org.apache.camel.Exchange exchange, String operation)
protected void
doRemoteList(org.apache.camel.Exchange exchange, String operation)
protected void
doRemove(org.apache.camel.Exchange exchange, String operation)
protected void
doShowBranches(org.apache.camel.Exchange exchange, String operation)
protected void
doShowTags(org.apache.camel.Exchange exchange, String operation)
protected void
doStart()
protected void
doStatus(org.apache.camel.Exchange exchange, String operation)
protected void
doStop()
void
process(org.apache.camel.Exchange exchange)
-
Methods inherited from class org.apache.camel.support.DefaultProducer
createExchange, getEndpoint, isSingleton, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
GitProducer
public GitProducer(GitEndpoint endpoint)
-
-
Method Detail
-
doStart
protected void doStart() throws Exception
- Overrides:
doStart
in classorg.apache.camel.support.DefaultProducer
- Throws:
Exception
-
doStop
protected void doStop() throws Exception
- Overrides:
doStop
in classorg.apache.camel.support.DefaultProducer
- Throws:
Exception
-
doClone
protected void doClone(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doCheckout
protected void doCheckout(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doInit
protected void doInit(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- 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
protected void doCreateBranch(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doDeleteBranch
protected void doDeleteBranch(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- 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.ConfigInvalidException
org.eclipse.jgit.api.errors.GitAPIException
IOException
-
doCreateTag
protected void doCreateTag(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
doDeleteTag
protected void doDeleteTag(String operation) throws org.eclipse.jgit.api.errors.GitAPIException
- 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.GitAPIException
IOException
-
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.GitAPIException
URISyntaxException
-
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
-
-