Package org.drools.commands.runtime.rule
Class InsertElementsCommand
java.lang.Object
org.drools.commands.runtime.rule.InsertElementsCommand
- All Implemented Interfaces:
Serializable,IdentifiableResult,org.kie.api.command.Command<Collection<org.kie.api.runtime.rule.FactHandle>>,org.kie.api.command.ExecutableCommand<Collection<org.kie.api.runtime.rule.FactHandle>>
public class InsertElementsCommand
extends Object
implements org.kie.api.command.ExecutableCommand<Collection<org.kie.api.runtime.rule.FactHandle>>, IdentifiableResult
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInsertElementsCommand(String outIdentifier) InsertElementsCommand(Collection<Object> objects) -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.kie.api.runtime.rule.FactHandle>execute(org.kie.api.runtime.Context context) booleanvoidsetEntryPoint(String entryPoint) voidsetObjects(Collection<Object> objects) voidsetOutIdentifier(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
-
Field Details
-
objects
-
-
Constructor Details
-
InsertElementsCommand
public InsertElementsCommand() -
InsertElementsCommand
-
InsertElementsCommand
-
-
Method Details
-
getObjects
-
setObjects
-
execute
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Collection<org.kie.api.runtime.rule.FactHandle>>
-
getOutIdentifier
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
isReturnObject
public boolean isReturnObject() -
setReturnObject
public void setReturnObject(boolean returnObject) -
getEntryPoint
-
setEntryPoint
-
toString
-