public abstract class AbstractJobCommand extends Object implements org.kie.api.executor.Command
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_REQUEST_KEY |
protected static org.slf4j.Logger |
logger |
static String |
WORKITEM_KEY |
| Constructor and Description |
|---|
AbstractJobCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.executor.ExecutionResults |
execute(org.kie.api.executor.CommandContext ctx) |
protected org.kie.api.executor.ExecutionResults |
getEmptyResult() |
protected JobRequestHelper |
getHelper(org.kie.api.executor.CommandContext ctx) |
protected JobRequest |
getJobRequest(org.kie.api.executor.CommandContext ctx) |
protected abstract JobResult |
internalExecute(org.kie.api.executor.CommandContext ctx,
JobRequest request) |
protected static final org.slf4j.Logger logger
public static final String JOB_REQUEST_KEY
public static final String WORKITEM_KEY
protected JobRequestHelper getHelper(org.kie.api.executor.CommandContext ctx) throws Exception
Exceptionprotected JobRequest getJobRequest(org.kie.api.executor.CommandContext ctx)
protected org.kie.api.executor.ExecutionResults getEmptyResult()
public org.kie.api.executor.ExecutionResults execute(org.kie.api.executor.CommandContext ctx)
throws Exception
execute in interface org.kie.api.executor.CommandExceptionprotected abstract JobResult internalExecute(org.kie.api.executor.CommandContext ctx, JobRequest request) throws Exception
ExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.