Class AbstractRiotCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>
    Direct Known Subclasses:
    AbstractTransferCommand

    public abstract class AbstractRiotCommand
    extends HelpCommand
    implements java.util.concurrent.Callable<java.lang.Integer>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer call()  
      protected org.springframework.batch.core.job.builder.JobBuilder configureJob​(org.springframework.batch.core.job.builder.JobBuilder job)  
      protected <B extends com.redis.spring.batch.builder.JobRepositoryBuilder>
      B
      configureJobRepository​(B builder)  
      org.springframework.batch.core.JobExecution execute()  
      protected com.redis.spring.batch.support.JobRunner getJobRunner()  
      protected RedisOptions getRedisOptions()  
      protected abstract org.springframework.batch.core.Job job​(org.springframework.batch.core.job.builder.JobBuilder jobBuilder)  
      void setApp​(RiotApp app)  
      protected org.springframework.batch.core.step.builder.StepBuilder step​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractRiotCommand

        public AbstractRiotCommand()
    • Method Detail

      • setApp

        public void setApp​(RiotApp app)
      • getRedisOptions

        protected RedisOptions getRedisOptions()
      • getJobRunner

        protected com.redis.spring.batch.support.JobRunner getJobRunner()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • step

        protected org.springframework.batch.core.step.builder.StepBuilder step​(java.lang.String name)
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • call

        public java.lang.Integer call()
                               throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Throws:
        java.lang.Exception
      • execute

        public org.springframework.batch.core.JobExecution execute()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • job

        protected abstract org.springframework.batch.core.Job job​(org.springframework.batch.core.job.builder.JobBuilder jobBuilder)
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • configureJob

        protected org.springframework.batch.core.job.builder.JobBuilder configureJob​(org.springframework.batch.core.job.builder.JobBuilder job)
      • configureJobRepository

        protected <B extends com.redis.spring.batch.builder.JobRepositoryBuilder> B configureJobRepository​(B builder)
                                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception