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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
doCheckout
(String operation) protected void
doCherryPick
(org.apache.camel.Exchange exchange, String operation) protected void
protected void
protected void
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
protected void
protected void
protected void
protected void
protected void
protected void
protected void
doRemoteAdd
(org.apache.camel.Exchange exchange, String operation) protected void
doRemoteList
(org.apache.camel.Exchange exchange, String operation) protected void
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
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
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
GitProducer
-
-
Method Details
-
doStart
- Overrides:
doStart
in classorg.apache.camel.support.DefaultProducer
- Throws:
Exception
-
doStop
- Overrides:
doStop
in 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.ConfigInvalidException
org.eclipse.jgit.api.errors.GitAPIException
IOException
-
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.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
-