Class InsertElementsCommand

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

public class InsertElementsCommand extends Object implements org.kie.api.command.ExecutableCommand<Collection<org.kie.api.runtime.rule.FactHandle>>, IdentifiableResult
See Also:
  • Field Details

  • Constructor Details

    • InsertElementsCommand

      public InsertElementsCommand()
    • InsertElementsCommand

      public InsertElementsCommand(Collection<Object> objects)
    • InsertElementsCommand

      public InsertElementsCommand(String outIdentifier)
  • Method Details

    • getObjects

      public Collection<Object> getObjects()
    • setObjects

      public void setObjects(Collection<Object> objects)
    • execute

      public Collection<org.kie.api.runtime.rule.FactHandle> execute(org.kie.api.runtime.Context context)
      Specified by:
      execute in interface org.kie.api.command.ExecutableCommand<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