Class AbstractRiotCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>, org.springframework.batch.core.JobExecutionListener
    Direct Known Subclasses:
    AbstractTransferCommand

    public abstract class AbstractRiotCommand
    extends HelpCommand
    implements java.util.concurrent.Callable<java.lang.Integer>, org.springframework.batch.core.JobExecutionListener
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void afterJob​(org.springframework.batch.core.JobExecution jobExecution)  
      void beforeJob​(org.springframework.batch.core.JobExecution jobExecution)  
      java.lang.Integer call()  
      org.springframework.batch.core.JobExecution execute()  
      protected org.springframework.batch.core.job.builder.FlowBuilder<org.springframework.batch.core.job.flow.support.SimpleFlow> flow​(java.lang.String name)  
      protected abstract org.springframework.batch.core.job.flow.Flow flow​(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory)  
      protected org.springframework.batch.core.job.flow.Flow flow​(org.springframework.batch.core.Step... steps)  
      protected RedisOptions getRedisOptions()  
      protected java.lang.String name​(io.lettuce.core.RedisURI redisURI)  
      • 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

      • getRedisOptions

        protected RedisOptions getRedisOptions()
      • name

        protected java.lang.String name​(io.lettuce.core.RedisURI redisURI)
      • flow

        protected final org.springframework.batch.core.job.flow.Flow flow​(org.springframework.batch.core.Step... steps)
      • flow

        protected final org.springframework.batch.core.job.builder.FlowBuilder<org.springframework.batch.core.job.flow.support.SimpleFlow> flow​(java.lang.String name)
      • 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
      • flow

        protected abstract org.springframework.batch.core.job.flow.Flow flow​(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory)
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • afterJob

        public void afterJob​(org.springframework.batch.core.JobExecution jobExecution)
        Specified by:
        afterJob in interface org.springframework.batch.core.JobExecutionListener
      • beforeJob

        public void beforeJob​(org.springframework.batch.core.JobExecution jobExecution)
        Specified by:
        beforeJob in interface org.springframework.batch.core.JobExecutionListener