Package org.drools.commands.runtime.rule
Class GetObjectsCommand
- java.lang.Object
-
- org.drools.commands.runtime.rule.GetObjectsCommand
-
- All Implemented Interfaces:
java.io.Serializable,IdentifiableResult,org.kie.api.command.Command<java.util.Collection>,org.kie.api.command.ExecutableCommand<java.util.Collection>
public class GetObjectsCommand extends java.lang.Object implements org.kie.api.command.ExecutableCommand<java.util.Collection>, IdentifiableResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetObjectsCommand()GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter)GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter, java.lang.String outIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collectionexecute(org.kie.api.runtime.Context context)org.kie.api.runtime.ObjectFiltergetFilter()java.lang.StringgetOutIdentifier()voidsetFilter(org.kie.api.runtime.ObjectFilter filter)voidsetOutIdentifier(java.lang.String outIdentifier)java.lang.StringtoString()
-
-
-
Method Detail
-
getOutIdentifier
public java.lang.String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(java.lang.String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
setFilter
public void setFilter(org.kie.api.runtime.ObjectFilter filter)
-
getFilter
public org.kie.api.runtime.ObjectFilter getFilter()
-
execute
public java.util.Collection execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<java.util.Collection>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-