public class FailedJobListener extends Object implements TransactionListener
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected Throwable |
exception |
protected String |
jobId |
Constructor and Description |
---|
FailedJobListener(CommandExecutor commandExecutor,
String jobId) |
Modifier and Type | Method and Description |
---|---|
void |
execute(CommandContext commandContext) |
void |
setException(Throwable exception) |
protected CommandExecutor commandExecutor
protected String jobId
protected Throwable exception
public FailedJobListener(CommandExecutor commandExecutor, String jobId)
public void execute(CommandContext commandContext)
execute
in interface TransactionListener
public void setException(Throwable exception)
Copyright © 2016 Alfresco. All rights reserved.