Drools :: Core 6.0.0.Beta5

org.drools.core.command.runtime.rule
Class InsertElementsCommand

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

public class InsertElementsCommand
extends Object
implements GenericCommand<Collection<org.kie.api.runtime.rule.FactHandle>>, IdentifiableResult

See Also:
Serialized Form

Field Summary
 Collection<Object> objects
           
 
Constructor Summary
InsertElementsCommand()
           
InsertElementsCommand(Collection<Object> objects)
           
InsertElementsCommand(String outIdentifier)
           
 
Method Summary
 Collection<org.kie.api.runtime.rule.FactHandle> execute(org.kie.internal.command.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.kie.api.runtime.rule.FactHandle> execute(org.kie.internal.command.Context context)
Specified by:
execute in interface GenericCommand<Collection<org.kie.api.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

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.