Package com.redis.riot
Class AbstractJobCommand
java.lang.Object
com.redis.riot.AbstractJobCommand
- Direct Known Subclasses:
AbstractTransferCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()
protected JobCommandContext
context
(com.redis.spring.batch.common.JobRunner jobRunner, RedisOptions redisOptions) protected abstract org.springframework.batch.core.Job
job
(JobCommandContext context) protected org.springframework.batch.core.job.builder.SimpleJobBuilder
job
(JobCommandContext context, String name, org.springframework.batch.core.Step step) protected org.springframework.batch.core.job.builder.SimpleJobBuilder
job
(JobCommandContext context, String name, org.springframework.batch.core.step.tasklet.Tasklet tasklet) void
-
Constructor Details
-
AbstractJobCommand
public AbstractJobCommand()
-
-
Method Details
-
setApp
-
call
-
context
protected JobCommandContext context(com.redis.spring.batch.common.JobRunner jobRunner, RedisOptions redisOptions) -
job
protected abstract org.springframework.batch.core.Job job(JobCommandContext context) throws Exception - Throws:
Exception
-
job
protected org.springframework.batch.core.job.builder.SimpleJobBuilder job(JobCommandContext context, String name, org.springframework.batch.core.Step step) -
job
protected org.springframework.batch.core.job.builder.SimpleJobBuilder job(JobCommandContext context, String name, org.springframework.batch.core.step.tasklet.Tasklet tasklet)
-