org.camunda.bpm.engine.impl.jobexecutor
Class JobFailureCollector
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobFailureCollector
- All Implemented Interfaces:
- CommandContextListener
public class JobFailureCollector
- extends Object
- implements CommandContextListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
failure
protected Throwable failure
job
protected JobEntity job
jobId
protected String jobId
JobFailureCollector
public JobFailureCollector(String jobId)
setFailure
public void setFailure(Throwable failure)
getFailure
public Throwable getFailure()
onCommandFailed
public void onCommandFailed(CommandContext commandContext,
Throwable t)
- Specified by:
onCommandFailed in interface CommandContextListener
onCommandContextClose
public void onCommandContextClose(CommandContext commandContext)
- Specified by:
onCommandContextClose in interface CommandContextListener
setJob
public void setJob(JobEntity job)
getJob
public JobEntity getJob()
getJobId
public String getJobId()
Copyright © 2017 camunda services GmbH. All rights reserved.