Package org.drools.commands.runtime.rule
Class InsertObjectCommand
java.lang.Object
org.drools.commands.runtime.rule.InsertObjectCommand
- All Implemented Interfaces:
Serializable,IdentifiableResult,org.kie.api.command.Command<org.kie.api.runtime.rule.FactHandle>,org.kie.api.command.ExecutableCommand<org.kie.api.runtime.rule.FactHandle>
public class InsertObjectCommand
extends Object
implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.rule.FactHandle>, IdentifiableResult
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInsertObjectCommand(Object object) InsertObjectCommand(Object object, boolean disconnected) InsertObjectCommand(Object object, String outIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.runtime.rule.FactHandleexecute(org.kie.api.runtime.Context context) booleanbooleanvoidsetEntryPoint(String entryPoint) voidvoidsetOutIdentifier(String outIdentifier) voidsetReturnObject(boolean returnObject) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.command.ExecutableCommand
autoFireAllRules
-
Constructor Details
-
InsertObjectCommand
public InsertObjectCommand() -
InsertObjectCommand
-
InsertObjectCommand
-
InsertObjectCommand
-
-
Method Details
-
execute
public org.kie.api.runtime.rule.FactHandle execute(org.kie.api.runtime.Context context) - Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.runtime.rule.FactHandle>
-
setObject
-
getObject
-
getOutIdentifier
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
isReturnObject
public boolean isReturnObject() -
setReturnObject
public void setReturnObject(boolean returnObject) -
isDisconnected
public boolean isDisconnected() -
getEntryPoint
-
setEntryPoint
-
toString
-