Package | Description |
---|---|
org.drools.command | |
org.drools.command.impl | |
org.drools.impl.adapters | |
org.drools.runtime |
The runtime engine classes, including StatefulKnowledgeSession and StatelessKnowledgeSession.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BatchExecutionCommand |
Modifier and Type | Method and Description |
---|---|
static Command<FactHandle> |
CommandFactory.fromExternalFactHandleCommand(String factHandleExternalForm) |
Command<FactHandle> |
CommandFactoryService.fromExternalFactHandleCommand(String factHandleExternalForm) |
static Command<FactHandle> |
CommandFactory.fromExternalFactHandleCommand(String factHandleExternalForm,
boolean disconnected) |
Command<FactHandle> |
CommandFactoryService.fromExternalFactHandleCommand(String factHandleExternalForm,
boolean disconnected) |
static Command |
CommandFactory.newAbortWorkItem(long workItemId) |
Command |
CommandFactoryService.newAbortWorkItem(long workItemId) |
static Command |
CommandFactory.newCompleteWorkItem(long workItemId,
Map<String,Object> results) |
Command |
CommandFactoryService.newCompleteWorkItem(long workItemId,
Map<String,Object> results) |
static Command |
CommandFactory.newFireAllRules() |
Command |
CommandFactoryService.newFireAllRules() |
static Command |
CommandFactory.newFireAllRules(int max) |
Command |
CommandFactoryService.newFireAllRules(int max) |
static Command |
CommandFactory.newFireAllRules(String outidentifier) |
Command |
CommandFactoryService.newFireAllRules(String outidentifier) |
static Command |
CommandFactory.newGetGlobal(String identifier)
Gets the global and adds it to the ExecutionResults
|
Command |
CommandFactoryService.newGetGlobal(String identifier) |
static Command |
CommandFactory.newGetGlobal(String identifier,
String outIdentifier)
Gets the global and adds it ot the BatchExecutionresults using the alternative outIdentifier.
|
Command |
CommandFactoryService.newGetGlobal(String identifier,
String outIdentifier) |
static Command |
CommandFactory.newGetObject(FactHandle factHandle) |
Command |
CommandFactoryService.newGetObject(FactHandle factHandle) |
static Command |
CommandFactory.newGetObject(FactHandle factHandle,
String outIdentifier) |
Command |
CommandFactoryService.newGetObject(FactHandle factHandle,
String outIdentifier) |
static Command |
CommandFactory.newGetObjects() |
Command |
CommandFactoryService.newGetObjects() |
static Command |
CommandFactory.newGetObjects(ObjectFilter filter) |
Command |
CommandFactoryService.newGetObjects(ObjectFilter filter) |
static Command |
CommandFactory.newGetObjects(ObjectFilter filter,
String outIdentifier) |
Command |
CommandFactoryService.newGetObjects(ObjectFilter filter,
String outIdentifier) |
static Command |
CommandFactory.newGetObjects(String outIdentifier) |
Command |
CommandFactoryService.newGetObjects(String outIdentifier) |
static Command |
CommandFactory.newInsert(Object object)
Inserts a new instance
|
Command |
CommandFactoryService.newInsert(Object object) |
static Command |
CommandFactory.newInsert(Object object,
String outIdentifier)
Inserts a new instance but references via the outIdentifier, which is returned as part of the ExecutionResults
|
static Command |
CommandFactory.newInsert(Object object,
String outIdentifier,
boolean returnObject,
String entryPoint)
Inserts a new instance but references via the outIdentifier, which is returned as part of the ExecutionResults
The outIdentifier can be null.
|
Command |
CommandFactoryService.newInsert(Object object,
String outIdentifier,
boolean returnObject,
String entryPoint) |
static Command |
CommandFactory.newInsertElements(Collection objects)
Iterate and insert each of the elements of the Collection.
|
Command |
CommandFactoryService.newInsertElements(Collection objects) |
static Command |
CommandFactory.newInsertElements(Collection objects,
String outIdentifier,
boolean returnObject,
String entryPoint)
Iterate and insert each of the elements of the Collection.
|
Command |
CommandFactoryService.newInsertElements(Collection objects,
String outIdentifier,
boolean returnObject,
String entryPoint) |
static Command |
CommandFactory.newKBuilderSetPropertyCommand(String id,
String name,
String value)
Deprecated.
|
Command |
CommandFactoryService.newKBuilderSetPropertyCommand(String id,
String name,
String value)
Deprecated.
|
static Command |
CommandFactory.newKnowledgeBuilderSetPropertyCommand(String id,
String name,
String value) |
Command |
CommandFactoryService.newKnowledgeBuilderSetPropertyCommand(String id,
String name,
String value) |
static Command |
CommandFactory.newModify(FactHandle factHandle,
List<Setter> setters) |
Command |
CommandFactoryService.newModify(FactHandle factHandle,
List<Setter> setters) |
static Command |
CommandFactory.newNewKnowledgeBuilderConfigurationCommand(String localId) |
Command |
CommandFactoryService.newNewKnowledgeBuilderConfigurationCommand(String localId) |
static Command |
CommandFactory.newQuery(String identifier,
String name)
Executes a query.
|
Command |
CommandFactoryService.newQuery(String identifier,
String name) |
static Command |
CommandFactory.newQuery(String identifier,
String name,
Object[] arguments)
Executes a query using the given parameters.
|
Command |
CommandFactoryService.newQuery(String identifier,
String name,
Object[] arguments) |
static Command |
CommandFactory.newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
String workItemName) |
Command |
CommandFactoryService.newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
String workItemName) |
static Command |
CommandFactory.newRetract(FactHandle factHandle) |
Command |
CommandFactoryService.newRetract(FactHandle factHandle) |
static Command |
CommandFactory.newSetGlobal(String identifier,
Object object)
Sets the global.
|
Command |
CommandFactoryService.newSetGlobal(String identifie,
Object object) |
static Command |
CommandFactory.newSetGlobal(String identifier,
Object object,
boolean out)
Sets the global but also when the out parameter is true specifies that the global is added to the ExecutionResults.
|
Command |
CommandFactoryService.newSetGlobal(String identifier,
Object object,
boolean out) |
static Command |
CommandFactory.newSetGlobal(String identifier,
Object object,
String outIdentifier)
Sets the global but also specifies that the global is added to the ExecutionResults.
|
Command |
CommandFactoryService.newSetGlobal(String identifier,
Object object,
String outIdentifier) |
static Command |
CommandFactory.newSignalEvent(long processInstanceId,
String type,
Object event) |
Command |
CommandFactoryService.newSignalEvent(long processInstanceId,
String type,
Object event) |
static Command |
CommandFactory.newSignalEvent(String type,
Object event) |
Command |
CommandFactoryService.newSignalEvent(String type,
Object event) |
static Command |
CommandFactory.newStartProcess(String processId)
Start a process
|
Command |
CommandFactoryService.newStartProcess(String processId) |
static Command |
CommandFactory.newStartProcess(String processId,
Map<String,Object> parameters)
Start a process using the given parameters.
|
Command |
CommandFactoryService.newStartProcess(String processId,
Map<String,Object> parameters) |
Modifier and Type | Method and Description |
---|---|
static BatchExecutionCommand |
CommandFactory.newBatchExecution(List<? extends Command> commands)
This is a special composite command and will execute all the supplied commands in turn.
|
static BatchExecutionCommand |
CommandFactory.newBatchExecution(List<? extends Command> commands,
String lookup) |
BatchExecutionCommand |
CommandFactoryService.newBatchExecution(List<? extends Command> commands,
String lookup) |
Modifier and Type | Method and Description |
---|---|
Command<FactHandle> |
CommandFactoryServiceImpl.fromExternalFactHandleCommand(String factHandleExternalForm) |
Command<FactHandle> |
CommandFactoryServiceImpl.fromExternalFactHandleCommand(String factHandleExternalForm,
boolean disconnected) |
Command |
CommandFactoryServiceImpl.newAbortWorkItem(long workItemId) |
Command |
CommandFactoryServiceImpl.newCompleteWorkItem(long workItemId,
Map<String,Object> results) |
Command |
CommandFactoryServiceImpl.newFireAllRules() |
Command |
CommandFactoryServiceImpl.newFireAllRules(int max) |
Command |
CommandFactoryServiceImpl.newFireAllRules(String outidentifier) |
Command |
CommandFactoryServiceImpl.newGetGlobal(String identifier) |
Command |
CommandFactoryServiceImpl.newGetGlobal(String identifier,
String outIdentifier) |
Command |
CommandFactoryServiceImpl.newGetObject(FactHandle factHandle) |
Command |
CommandFactoryServiceImpl.newGetObject(FactHandle factHandle,
String outIdentifier) |
Command |
CommandFactoryServiceImpl.newGetObjects() |
Command |
CommandFactoryServiceImpl.newGetObjects(ObjectFilter filter) |
Command |
CommandFactoryServiceImpl.newGetObjects(ObjectFilter filter,
String outIdentifier) |
Command |
CommandFactoryServiceImpl.newGetObjects(String outIdentifier) |
Command |
CommandFactoryServiceImpl.newInsert(Object object) |
Command |
CommandFactoryServiceImpl.newInsert(Object object,
String outIdentifier,
boolean returnObject,
String entryPoint) |
Command |
CommandFactoryServiceImpl.newInsertElements(Collection objects) |
Command |
CommandFactoryServiceImpl.newInsertElements(Collection objects,
String outIdentifier,
boolean returnObject,
String entryPoint) |
Command |
CommandFactoryServiceImpl.newKBuilderSetPropertyCommand(String id,
String name,
String value) |
Command |
CommandFactoryServiceImpl.newKnowledgeBuilderSetPropertyCommand(String id,
String name,
String value) |
Command |
CommandFactoryServiceImpl.newModify(FactHandle factHandle,
List<Setter> setters) |
Command |
CommandFactoryServiceImpl.newNewKnowledgeBuilderConfigurationCommand(String localId) |
Command |
CommandFactoryServiceImpl.newQuery(String identifier,
String name) |
Command |
CommandFactoryServiceImpl.newQuery(String identifier,
String name,
Object[] arguments) |
Command |
CommandFactoryServiceImpl.newRegisterWorkItemHandlerCommand(WorkItemHandler handler,
String workItemName) |
Command |
CommandFactoryServiceImpl.newRetract(FactHandle factHandle) |
Command |
CommandFactoryServiceImpl.newSetGlobal(String identifie,
Object object) |
Command |
CommandFactoryServiceImpl.newSetGlobal(String identifier,
Object object,
boolean out) |
Command |
CommandFactoryServiceImpl.newSetGlobal(String identifier,
Object object,
String outIdentifier) |
Command |
CommandFactoryServiceImpl.newSignalEvent(long processInstanceId,
String type,
Object event) |
Command |
CommandFactoryServiceImpl.newSignalEvent(String type,
Object event) |
Command |
CommandFactoryServiceImpl.newStartProcess(String processId) |
Command |
CommandFactoryServiceImpl.newStartProcess(String processId,
Map<String,Object> parameters) |
Modifier and Type | Method and Description |
---|---|
BatchExecutionCommand |
CommandFactoryServiceImpl.newBatchExecution(List<? extends Command> commands,
String lookup) |
Modifier and Type | Method and Description |
---|---|
<T> T |
StatefulKnowledgeSessionAdapter.execute(Command<T> command) |
<T> T |
StatelessKnowledgeSessionAdapter.execute(Command<T> command) |
Modifier and Type | Method and Description |
---|---|
List<Command> |
BatchRequestMessage.getCommands() |
Modifier and Type | Method and Description |
---|---|
<T> T |
CommandExecutor.execute(Command<T> command)
Execute the command and return a ExecutionResults for the results of the Command.
|
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.