org.drools.core.command.runtime.rule
Class GetObjectsCommand
java.lang.Object
org.drools.core.command.runtime.rule.GetObjectsCommand
- All Implemented Interfaces:
- Serializable, IdentifiableResult, GenericCommand<Collection>, org.kie.api.command.Command<Collection>
public class GetObjectsCommand
- extends Object
- implements GenericCommand<Collection>, IdentifiableResult
- See Also:
- Serialized Form
GetObjectsCommand
public GetObjectsCommand()
GetObjectsCommand
public GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter)
GetObjectsCommand
public GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter,
String outIdentifier)
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifier in interface IdentifiableResult
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifier in interface IdentifiableResult
execute
public Collection execute(org.kie.internal.command.Context context)
- Specified by:
execute in interface GenericCommand<Collection>
getObjects
public Collection<? extends Object> getObjects(AbstractWorkingMemory session)
getObjects
public Collection<? extends Object> getObjects(AbstractWorkingMemory session,
org.kie.api.runtime.ObjectFilter filter)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.