org.drools.command.runtime.rule
Class GetObjectsCommand

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

public class GetObjectsCommand
extends Object
implements GenericCommand<Collection>

See Also:
Serialized Form

Constructor Summary
GetObjectsCommand()
           
GetObjectsCommand(org.drools.runtime.ObjectFilter filter)
           
GetObjectsCommand(org.drools.runtime.ObjectFilter filter, String outIdentifier)
           
 
Method Summary
 Collection execute(Context context)
           
 Collection<? extends Object> getObjects(ReteooWorkingMemory session)
           
 Collection<? extends Object> getObjects(ReteooWorkingMemory session, org.drools.runtime.ObjectFilter filter)
           
 String getOutIdentifier()
           
 void setOutIdentifier(String outIdentifier)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetObjectsCommand

public GetObjectsCommand()

GetObjectsCommand

public GetObjectsCommand(org.drools.runtime.ObjectFilter filter)

GetObjectsCommand

public GetObjectsCommand(org.drools.runtime.ObjectFilter filter,
                         String outIdentifier)
Method Detail

getOutIdentifier

public String getOutIdentifier()

setOutIdentifier

public void setOutIdentifier(String outIdentifier)

execute

public Collection execute(Context context)
Specified by:
execute in interface GenericCommand<Collection>

getObjects

public Collection<? extends Object> getObjects(ReteooWorkingMemory session)

getObjects

public Collection<? extends Object> getObjects(ReteooWorkingMemory session,
                                               org.drools.runtime.ObjectFilter filter)

toString

public String toString()
Overrides:
toString in class Object


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