Class 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

        BUILDED, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTINGDOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • 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​(org.apache.camel.Exchange exchange, 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​(org.apache.camel.Exchange exchange, 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​(org.apache.camel.Exchange exchange, String operation)  
      protected void doCreateTag​(org.apache.camel.Exchange exchange, String operation)  
      protected void doDeleteBranch​(org.apache.camel.Exchange exchange, String operation)  
      protected void doDeleteTag​(org.apache.camel.Exchange exchange, String operation)  
      protected void doGc​(org.apache.camel.Exchange exchange, String operation)  
      protected void doInit​(org.apache.camel.Exchange exchange, 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 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 Detail

      • GitProducer

        public GitProducer​(GitEndpoint endpoint)
    • Method Detail

      • doStart

        protected void doStart()
                        throws Exception
        Overrides:
        doStart in class org.apache.camel.support.DefaultProducer
        Throws:
        Exception
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.apache.camel.support.DefaultProducer
        Throws:
        Exception
      • process

        public void process​(org.apache.camel.Exchange exchange)
                     throws Exception
        Throws:
        Exception
      • doClone

        protected void doClone​(org.apache.camel.Exchange exchange,
                               String operation)
                        throws Exception
        Throws:
        Exception
      • doCheckout

        protected void doCheckout​(org.apache.camel.Exchange exchange,
                                  String operation)
                           throws Exception
        Throws:
        Exception
      • doInit

        protected void doInit​(org.apache.camel.Exchange exchange,
                              String operation)
                       throws Exception
        Throws:
        Exception
      • doAdd

        protected void doAdd​(org.apache.camel.Exchange exchange,
                             String operation)
                      throws Exception
        Throws:
        Exception
      • doRemove

        protected void doRemove​(org.apache.camel.Exchange exchange,
                                String operation)
                         throws Exception
        Throws:
        Exception
      • doCommit

        protected void doCommit​(org.apache.camel.Exchange exchange,
                                String operation)
                         throws Exception
        Throws:
        Exception
      • doCommitAll

        protected void doCommitAll​(org.apache.camel.Exchange exchange,
                                   String operation)
                            throws Exception
        Throws:
        Exception
      • doCreateBranch

        protected void doCreateBranch​(org.apache.camel.Exchange exchange,
                                      String operation)
                               throws Exception
        Throws:
        Exception
      • doDeleteBranch

        protected void doDeleteBranch​(org.apache.camel.Exchange exchange,
                                      String operation)
                               throws Exception
        Throws:
        Exception
      • doStatus

        protected void doStatus​(org.apache.camel.Exchange exchange,
                                String operation)
                         throws Exception
        Throws:
        Exception
      • doLog

        protected void doLog​(org.apache.camel.Exchange exchange,
                             String operation)
                      throws Exception
        Throws:
        Exception
      • doPush

        protected void doPush​(org.apache.camel.Exchange exchange,
                              String operation)
                       throws Exception
        Throws:
        Exception
      • doPushTag

        protected void doPushTag​(org.apache.camel.Exchange exchange,
                                 String operation)
                          throws Exception
        Throws:
        Exception
      • doPull

        protected void doPull​(org.apache.camel.Exchange exchange,
                              String operation)
                       throws Exception
        Throws:
        Exception
      • doMerge

        protected void doMerge​(org.apache.camel.Exchange exchange,
                               String operation)
                        throws Exception
        Throws:
        Exception
      • doCreateTag

        protected void doCreateTag​(org.apache.camel.Exchange exchange,
                                   String operation)
                            throws Exception
        Throws:
        Exception
      • doDeleteTag

        protected void doDeleteTag​(org.apache.camel.Exchange exchange,
                                   String operation)
                            throws Exception
        Throws:
        Exception
      • doShowBranches

        protected void doShowBranches​(org.apache.camel.Exchange exchange,
                                      String operation)
                               throws Exception
        Throws:
        Exception
      • doShowTags

        protected void doShowTags​(org.apache.camel.Exchange exchange,
                                  String operation)
                           throws Exception
        Throws:
        Exception
      • doCherryPick

        protected void doCherryPick​(org.apache.camel.Exchange exchange,
                                    String operation)
                             throws Exception
        Throws:
        Exception
      • doClean

        protected void doClean​(org.apache.camel.Exchange exchange,
                               String operation)
                        throws Exception
        Throws:
        Exception
      • doGc

        protected void doGc​(org.apache.camel.Exchange exchange,
                            String operation)
                     throws Exception
        Throws:
        Exception
      • doRemoteAdd

        protected void doRemoteAdd​(org.apache.camel.Exchange exchange,
                                   String operation)
                            throws Exception
        Throws:
        Exception
      • doRemoteList

        protected void doRemoteList​(org.apache.camel.Exchange exchange,
                                    String operation)
                             throws Exception
        Throws:
        Exception