Class InsertElementsCommand
- java.lang.Object
-
- org.drools.core.command.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Collection<Object>objects
-
Constructor Summary
Constructors Constructor Description InsertElementsCommand()InsertElementsCommand(String outIdentifier)InsertElementsCommand(Collection<Object> objects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.kie.api.runtime.rule.FactHandle>execute(org.kie.api.runtime.Context context)StringgetEntryPoint()Collection<Object>getObjects()StringgetOutIdentifier()booleanisReturnObject()voidsetEntryPoint(String entryPoint)voidsetObjects(Collection<Object> objects)voidsetOutIdentifier(String outIdentifier)voidsetReturnObject(boolean returnObject)StringtoString()
-
-
-
Field Detail
-
objects
public Collection<Object> objects
-
-
Constructor Detail
-
InsertElementsCommand
public InsertElementsCommand()
-
InsertElementsCommand
public InsertElementsCommand(Collection<Object> objects)
-
InsertElementsCommand
public InsertElementsCommand(String outIdentifier)
-
-
Method Detail
-
getObjects
public Collection<Object> getObjects()
-
setObjects
public void setObjects(Collection<Object> objects)
-
execute
public Collection<org.kie.api.runtime.rule.FactHandle> execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Collection<org.kie.api.runtime.rule.FactHandle>>
-
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
isReturnObject
public boolean isReturnObject()
-
setReturnObject
public void setReturnObject(boolean returnObject)
-
getEntryPoint
public String getEntryPoint()
-
setEntryPoint
public void setEntryPoint(String entryPoint)
-
-