Summer.Batch.Core.Step.Tasklet Namespace Reference
Classes | |
interface | IPowerShellExitCodeMapper |
Maps the exit code of a PowerShell to ExitStatus value returned by a PowerShell. Designed for use with the PowerShellTasklet. More... | |
interface | IStoppableTasklet |
An extension to the ITaskletinterface to allow users to add logic for stopping a tasklet. It is up to each implementation as to how the stop will behave. The only guarantee provided by the framework is that a call to JobOperator.Stop(long) will attempt to call the stop method on any currently running IStoppableTasklet. The call to IStoppableTasklet.Stop() will be from a thread other than the thread executing Tasklet.Execute() so the appropriate thread safety and visibility controls should be put in place. More... | |
interface | ISystemProcessExitCodeMapper |
Maps the exit code of a system process to ExitStatus value returned by a system command. Designed for use with the SystemCommandTasklet. More... | |
interface | ITasklet |
Strategy for processing in a step. More... | |
class | PowerShellExitCodeMapper |
Simple ISystemProcessExitCodeMapper implementation that performs following mapping: 0 -> ExitStatus.Completed else -> ExitStatus.Failed More... | |
class | PowerShellTasklet |
An ITasklet that runs a powershell script. The script is executed asynchronously using injected ITaskExecutor - timeout value is required to be set, so that the batch job does not hang forever if the external process hangs. Tasklet periodically checks for termination status (i.e. Script finished its execution or timeout expired or job was interrupted). The check interval is given by TerminationCheckInterval. When job interrupt is detected tasklet's execution is terminated immediately by throwing JobInterruptedException. More... | |
class | SimpleSystemProcessExitCodeMapper |
Simple ISystemProcessExitCodeMapper implementation that performs following mapping: 0 -> ExitStatus.Completed else -> ExitStatus.Failed More... | |
class | SystemCommandException |
Exception indicating failed execution of system command. More... | |
class | SystemCommandTasklet |
see cref="ITasklet"/>that executes a system command. The system command is executed asynchronously using injected ITaskExecutor - timeout value is required to be set, so that the batch job does not hang forever if the external process hangs. Tasklet periodically checks for termination status (i.e. Command finished its execution or timeout expired or job was interrupted). The check interval is given by TerminationCheckInterval. When job interrupt is detected tasklet's execution is terminated immediately by throwing JobInterruptedException. More... | |
class | TaskletStep |
Simple implementation of executing the step as a call to a ITasklet, possibly repeated, and each call surrounded by a transaction. The structure is therefore that of a loop with transaction boundary inside the loop. The loop is controlled by the step operations (StepOperations=RepeatOperations)). More... | |