org.drools.command.runtime.rule
Class InsertElementsCommand
java.lang.Object
org.drools.command.runtime.rule.InsertElementsCommand
- All Implemented Interfaces:
- Serializable, org.drools.command.Command<Collection<org.drools.runtime.rule.FactHandle>>, IdentifiableResult, GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>
public class InsertElementsCommand
- extends Object
- implements GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>, IdentifiableResult
- See Also:
- Serialized Form
objects
public Collection<Object> objects
InsertElementsCommand
public InsertElementsCommand()
InsertElementsCommand
public InsertElementsCommand(Collection<Object> objects)
InsertElementsCommand
public InsertElementsCommand(String outIdentifier)
getObjects
public Collection<Object> getObjects()
setObjects
public void setObjects(List<Object> objects)
execute
public Collection<org.drools.runtime.rule.FactHandle> execute(org.drools.command.Context context)
- Specified by:
execute in interface GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifier in interface IdentifiableResult
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifier in interface IdentifiableResult
isReturnObject
public boolean isReturnObject()
setReturnObject
public void setReturnObject(boolean returnObject)
getEntryPoint
public String getEntryPoint()
setEntryPoint
public void setEntryPoint(String entryPoint)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.