org.camunda.bpm.engine.impl.jobexecutor
Class FailedJobListener
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.FailedJobListener
- All Implemented Interfaces:
- TransactionListener, CommandContextListener
public class FailedJobListener
- extends Object
- implements TransactionListener, CommandContextListener
- Author:
- Frederik Heremans, Bernd Ruecker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandExecutor
protected CommandExecutor commandExecutor
jobId
protected String jobId
exception
protected Throwable exception
FailedJobListener
public FailedJobListener(CommandExecutor commandExecutor,
String jobId,
Throwable exception)
FailedJobListener
public FailedJobListener(CommandExecutor commandExecutor,
String jobId)
execute
public void execute(CommandContext commandContext)
- Specified by:
execute in interface TransactionListener
fireHistoricJobFailedEvt
protected void fireHistoricJobFailedEvt(String jobId)
setException
public void setException(Throwable exception)
getException
public Throwable getException()
onCommandContextClose
public void onCommandContextClose(CommandContext commandContext)
- Specified by:
onCommandContextClose in interface CommandContextListener
onCommandFailed
public void onCommandFailed(CommandContext commandContext,
Throwable t)
- Specified by:
onCommandFailed in interface CommandContextListener
Copyright © 2015 camunda services GmbH. All rights reserved.