public class TaskCommandExecutorImpl extends Object implements org.drools.core.runtime.InternalLocalRunner
Constructor and Description |
---|
TaskCommandExecutorImpl(org.kie.api.runtime.Environment environment,
TaskEventSupport taskEventSupport) |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptor(org.drools.core.runtime.ChainableRunner interceptor) |
protected void |
addUserIdToContext(TaskCommand<?> command,
org.kie.api.runtime.RequestContext context) |
org.kie.api.runtime.RequestContext |
createContext() |
<T> T |
execute(org.kie.api.command.Command<T> command) |
org.kie.api.runtime.RequestContext |
execute(org.kie.api.runtime.Executable executable,
org.kie.api.runtime.RequestContext ctx) |
public TaskCommandExecutorImpl(org.kie.api.runtime.Environment environment, TaskEventSupport taskEventSupport)
public org.kie.api.runtime.RequestContext execute(org.kie.api.runtime.Executable executable, org.kie.api.runtime.RequestContext ctx)
execute
in interface org.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>
public <T> T execute(org.kie.api.command.Command<T> command)
execute
in interface org.drools.core.runtime.InternalLocalRunner
execute
in interface org.kie.api.runtime.CommandExecutor
public void addInterceptor(org.drools.core.runtime.ChainableRunner interceptor)
public org.kie.api.runtime.RequestContext createContext()
createContext
in interface org.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>
protected void addUserIdToContext(TaskCommand<?> command, org.kie.api.runtime.RequestContext context)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.