Interface ResourceStore

  • All Known Implementing Classes:
    MemoryResourceStore

    public interface ResourceStore
    A Store is where the compilers are storing the results
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default byte[] read​(String resourceName)  
      byte[] read​(org.drools.util.PortablePath resourcePath)  
      default void remove​(String resourceName)  
      void remove​(org.drools.util.PortablePath resourcePath)  
      default void write​(String resourceName, byte[] pResourceData)  
      default void write​(String resourceName, byte[] pResourceData, boolean createFolder)  
      void write​(org.drools.util.PortablePath resourcePath, byte[] pResourceData)  
      void write​(org.drools.util.PortablePath resourcePath, byte[] pResourceData, boolean createFolder)  
    • Method Detail

      • write

        void write​(org.drools.util.PortablePath resourcePath,
                   byte[] pResourceData)
      • write

        default void write​(String resourceName,
                           byte[] pResourceData)
      • write

        void write​(org.drools.util.PortablePath resourcePath,
                   byte[] pResourceData,
                   boolean createFolder)
      • write

        default void write​(String resourceName,
                           byte[] pResourceData,
                           boolean createFolder)
      • read

        byte[] read​(org.drools.util.PortablePath resourcePath)
      • read

        default byte[] read​(String resourceName)
      • remove

        void remove​(org.drools.util.PortablePath resourcePath)
      • remove

        default void remove​(String resourceName)