Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected Throwable |
exception |
protected String |
jobId |
Constructor and Description |
---|
FailedJobListener(CommandExecutor commandExecutor,
String jobId,
Throwable exception) |
Modifier and Type | Method and Description |
---|---|
Void |
execute(CommandContext commandContext) |
protected void |
fireHistoricJobFailedEvt(JobEntity job) |
protected void |
logJobFailure(CommandContext commandContext) |
protected CommandExecutor commandExecutor
protected String jobId
protected Throwable exception
public FailedJobListener(CommandExecutor commandExecutor, String jobId, Throwable exception)
public Void execute(CommandContext commandContext)
protected void fireHistoricJobFailedEvt(JobEntity job)
protected void logJobFailure(CommandContext commandContext)
Copyright © 2018. All rights reserved.