Class GetObjectsCommand

java.lang.Object
org.drools.commands.runtime.rule.GetObjectsCommand
All Implemented Interfaces:
Serializable, IdentifiableResult, org.kie.api.command.Command<Collection>, org.kie.api.command.ExecutableCommand<Collection>

public class GetObjectsCommand extends Object implements org.kie.api.command.ExecutableCommand<Collection>, IdentifiableResult
See Also:
  • Constructor Details

    • GetObjectsCommand

      public GetObjectsCommand()
    • GetObjectsCommand

      public GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter)
    • GetObjectsCommand

      public GetObjectsCommand(org.kie.api.runtime.ObjectFilter filter, String outIdentifier)
  • Method Details

    • getOutIdentifier

      public String getOutIdentifier()
      Specified by:
      getOutIdentifier in interface IdentifiableResult
    • setOutIdentifier

      public void setOutIdentifier(String outIdentifier)
      Specified by:
      setOutIdentifier in interface IdentifiableResult
    • setFilter

      public void setFilter(org.kie.api.runtime.ObjectFilter filter)
    • getFilter

      public org.kie.api.runtime.ObjectFilter getFilter()
    • execute

      public Collection execute(org.kie.api.runtime.Context context)
      Specified by:
      execute in interface org.kie.api.command.ExecutableCommand<Collection>
    • toString

      public String toString()
      Overrides:
      toString in class Object