@PersistJobDataAfterExecution @DisallowConcurrentExecution public class StatefulDumbJob extends Object implements Job
A dumb implementation of Job, for unit testing purposes.
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTION_DELAY |
static String |
NUM_EXECUTIONS |
Constructor and Description |
---|
StatefulDumbJob() |
public static final String NUM_EXECUTIONS
public static final String EXECUTION_DELAY
public void execute(JobExecutionContext context) throws JobExecutionException
execute
in interface Job
JobExecutionException
- if there is an exception while executing the job.Copyright © 2013. All rights reserved.