Class JobCommandContext

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class JobCommandContext
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      JobCommandContext​(com.redis.spring.batch.support.JobRunner jobRunner, RedisOptions redisOptions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      com.redis.spring.batch.support.JobRunner getJobRunner()  
      io.lettuce.core.AbstractRedisClient getRedisClient()  
      RedisOptions getRedisOptions()  
      org.springframework.batch.core.job.builder.JobBuilder job​(java.lang.String name)  
      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

      • JobCommandContext

        public JobCommandContext​(com.redis.spring.batch.support.JobRunner jobRunner,
                                 RedisOptions redisOptions)
    • Method Detail

      • getJobRunner

        public com.redis.spring.batch.support.JobRunner getJobRunner()
      • getRedisClient

        public io.lettuce.core.AbstractRedisClient getRedisClient()
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • job

        public org.springframework.batch.core.job.builder.JobBuilder job​(java.lang.String name)
      • step

        public org.springframework.batch.core.step.builder.StepBuilder step​(java.lang.String name)