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 abstract org.springframework.batch.core.job.flow.Flow flow()  
      protected org.springframework.batch.core.job.flow.Flow flow​(java.lang.String name, org.springframework.batch.core.Step... steps)  
      protected com.redis.spring.batch.support.JobRunner getJobRunner()  
      protected RedisOptions getRedisOptions()  
      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
      • flow

        protected final org.springframework.batch.core.job.flow.Flow flow​(java.lang.String name,
                                                                          org.springframework.batch.core.Step... steps)
      • 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
      • configureJob

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

        protected abstract org.springframework.batch.core.job.flow.Flow flow()
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • configureJobRepository

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