public abstract class AutoAckErrorCommand extends Object implements org.kie.api.executor.Command, org.kie.api.executor.Reoccurring
Constructor and Description |
---|
AutoAckErrorCommand() |
Modifier and Type | Method and Description |
---|---|
org.kie.api.executor.ExecutionResults |
execute(org.kie.api.executor.CommandContext ctx) |
protected abstract List<org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo> |
findErrorsToAck(javax.persistence.EntityManager em)
Responsible to look up all errors that can be auto acknowledged.
|
protected abstract String |
getAckRule()
Returns description of why given jobs can be auto ack'ed
|
Date |
getScheduleTime() |
public Date getScheduleTime()
getScheduleTime
in interface org.kie.api.executor.Reoccurring
public org.kie.api.executor.ExecutionResults execute(org.kie.api.executor.CommandContext ctx) throws Exception
execute
in interface org.kie.api.executor.Command
Exception
protected abstract List<org.jbpm.runtime.manager.impl.jpa.ExecutionErrorInfo> findErrorsToAck(javax.persistence.EntityManager em)
em
- instance of entity manager to access dbprotected abstract String getAckRule()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.