org.drools.command.runtime.rule
Class InsertElementsCommand

java.lang.Object
  extended by org.drools.command.runtime.rule.InsertElementsCommand
All Implemented Interfaces:
Serializable, org.drools.command.Command<Collection<org.drools.runtime.rule.FactHandle>>, GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>

public class InsertElementsCommand
extends Object
implements GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>

See Also:
Serialized Form

Field Summary
 Collection<Object> objects
           
 
Constructor Summary
InsertElementsCommand()
           
InsertElementsCommand(Collection<Object> objects)
           
InsertElementsCommand(String outIdentifier)
           
 
Method Summary
 Collection<org.drools.runtime.rule.FactHandle> execute(Context context)
           
 String getEntryPoint()
           
 Collection<Object> getObjects()
           
 String getOutIdentifier()
           
 boolean isReturnObject()
           
 void setEntryPoint(String entryPoint)
           
 void setObjects(List<Object> objects)
           
 void setOutIdentifier(String outIdentifier)
           
 void setReturnObject(boolean returnObject)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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(List<Object> objects)

execute

public Collection<org.drools.runtime.rule.FactHandle> execute(Context context)
Specified by:
execute in interface GenericCommand<Collection<org.drools.runtime.rule.FactHandle>>

getOutIdentifier

public String getOutIdentifier()

setOutIdentifier

public void setOutIdentifier(String outIdentifier)

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.