Package org.drools.commands.runtime.rule
Class InsertElementsCommand
- java.lang.Object
-
- org.drools.commands.runtime.rule.InsertElementsCommand
-
- All Implemented Interfaces:
java.io.Serializable,IdentifiableResult,org.kie.api.command.Command<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>,org.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>
public class InsertElementsCommand extends java.lang.Object implements org.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>, IdentifiableResult
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<java.lang.Object>objects
-
Constructor Summary
Constructors Constructor Description InsertElementsCommand()InsertElementsCommand(java.lang.String outIdentifier)InsertElementsCommand(java.util.Collection<java.lang.Object> objects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.kie.api.runtime.rule.FactHandle>execute(org.kie.api.runtime.Context context)java.lang.StringgetEntryPoint()java.util.Collection<java.lang.Object>getObjects()java.lang.StringgetOutIdentifier()booleanisReturnObject()voidsetEntryPoint(java.lang.String entryPoint)voidsetObjects(java.util.Collection<java.lang.Object> objects)voidsetOutIdentifier(java.lang.String outIdentifier)voidsetReturnObject(boolean returnObject)java.lang.StringtoString()
-
-
-
Method Detail
-
getObjects
public java.util.Collection<java.lang.Object> getObjects()
-
setObjects
public void setObjects(java.util.Collection<java.lang.Object> objects)
-
execute
public java.util.Collection<org.kie.api.runtime.rule.FactHandle> execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>
-
getOutIdentifier
public java.lang.String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(java.lang.String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
isReturnObject
public boolean isReturnObject()
-
setReturnObject
public void setReturnObject(boolean returnObject)
-
getEntryPoint
public java.lang.String getEntryPoint()
-
setEntryPoint
public void setEntryPoint(java.lang.String entryPoint)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-