Package org.drools.core.command
Class ExecuteCommand
- java.lang.Object
-
- org.drools.core.command.ExecuteCommand
-
- All Implemented Interfaces:
Serializable
,org.kie.api.command.Command<org.kie.api.runtime.ExecutionResults>
,org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>
public class ExecuteCommand extends Object implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecuteCommand(String identifier, org.kie.api.command.Command command)
ExecuteCommand(String identifier, org.kie.api.command.Command command, boolean disconnected)
ExecuteCommand(org.kie.api.command.Command command)
ExecuteCommand(org.kie.api.command.Command command, boolean disconnected)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.runtime.ExecutionResults
execute(org.kie.api.runtime.Context context)
org.kie.api.command.Command
getCommand()
String
getOutIdentifier()
void
setOutIdentifier(String outIdentifier)
String
toString()
-
-
-
Constructor Detail
-
ExecuteCommand
public ExecuteCommand(org.kie.api.command.Command command)
-
ExecuteCommand
public ExecuteCommand(String identifier, org.kie.api.command.Command command)
-
ExecuteCommand
public ExecuteCommand(String identifier, org.kie.api.command.Command command, boolean disconnected)
-
ExecuteCommand
public ExecuteCommand(org.kie.api.command.Command command, boolean disconnected)
-
-
Method Detail
-
execute
public org.kie.api.runtime.ExecutionResults execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>
-
getCommand
public org.kie.api.command.Command getCommand()
-
getOutIdentifier
public String getOutIdentifier()
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
-
-