Class InsertElementsCommand

  • All Implemented Interfaces:
    java.io.Serializable, IdentifiableResult, org.kie.api.command.Command<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>, org.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>

    public class InsertElementsCommand
    extends java.lang.Object
    implements org.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>, IdentifiableResult
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Collection<java.lang.Object> objects  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<org.kie.api.runtime.rule.FactHandle> execute​(org.kie.api.runtime.Context context)  
      java.lang.String getEntryPoint()  
      java.util.Collection<java.lang.Object> getObjects()  
      java.lang.String getOutIdentifier()  
      boolean isReturnObject()  
      void setEntryPoint​(java.lang.String entryPoint)  
      void setObjects​(java.util.Collection<java.lang.Object> objects)  
      void setOutIdentifier​(java.lang.String outIdentifier)  
      void setReturnObject​(boolean returnObject)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.kie.api.command.ExecutableCommand

        autoFireAllRules
    • Field Detail

      • objects

        public java.util.Collection<java.lang.Object> objects
    • Constructor Detail

      • InsertElementsCommand

        public InsertElementsCommand()
      • InsertElementsCommand

        public InsertElementsCommand​(java.util.Collection<java.lang.Object> objects)
      • InsertElementsCommand

        public InsertElementsCommand​(java.lang.String outIdentifier)
    • Method Detail

      • getObjects

        public java.util.Collection<java.lang.Object> getObjects()
      • setObjects

        public void setObjects​(java.util.Collection<java.lang.Object> objects)
      • execute

        public java.util.Collection<org.kie.api.runtime.rule.FactHandle> execute​(org.kie.api.runtime.Context context)
        Specified by:
        execute in interface org.kie.api.command.ExecutableCommand<java.util.Collection<org.kie.api.runtime.rule.FactHandle>>
      • isReturnObject

        public boolean isReturnObject()
      • setReturnObject

        public void setReturnObject​(boolean returnObject)
      • getEntryPoint

        public java.lang.String getEntryPoint()
      • setEntryPoint

        public void setEntryPoint​(java.lang.String entryPoint)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object