Package org.drools.commands
Class ExecuteCommand
- java.lang.Object
-
- org.drools.commands.ExecuteCommand
-
- All Implemented Interfaces:
java.io.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 java.lang.Object implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecuteCommand(java.lang.String identifier, org.kie.api.command.Command command)ExecuteCommand(java.lang.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.ExecutionResultsexecute(org.kie.api.runtime.Context context)org.kie.api.command.CommandgetCommand()java.lang.StringgetOutIdentifier()voidsetOutIdentifier(java.lang.String outIdentifier)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ExecuteCommand
public ExecuteCommand(org.kie.api.command.Command command)
-
ExecuteCommand
public ExecuteCommand(java.lang.String identifier, org.kie.api.command.Command command)
-
ExecuteCommand
public ExecuteCommand(java.lang.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:
executein interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>
-
getCommand
public org.kie.api.command.Command getCommand()
-
getOutIdentifier
public java.lang.String getOutIdentifier()
-
setOutIdentifier
public void setOutIdentifier(java.lang.String outIdentifier)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-