List of usage examples for org.springframework.batch.core.step.tasklet StoppableTasklet interface-usage
From source file org.springframework.batch.core.step.tasklet.SystemCommandTasklet.java
/**
* {@link Tasklet} that executes a system command.
*
* The system command is executed asynchronously using injected
* {@link #setTaskExecutor(TaskExecutor)} - timeout value is required to be set,
* so that the batch job does not hang forever if the external process hangs.