Class MemoryKieModule

    • Constructor Detail

      • MemoryKieModule

        public MemoryKieModule()
      • MemoryKieModule

        public MemoryKieModule​(org.kie.api.builder.ReleaseId releaseId)
      • MemoryKieModule

        public MemoryKieModule​(org.kie.api.builder.ReleaseId releaseId,
                               org.kie.api.builder.model.KieModuleModel kModuleModel,
                               MemoryFileSystem mfs)
    • Method Detail

      • isAvailable

        public boolean isAvailable​(String path)
        Specified by:
        isAvailable in interface InternalKieModule
        Specified by:
        isAvailable in interface org.kie.memorycompiler.resources.ResourceReader
      • isAvailable

        public boolean isAvailable​(org.drools.util.PortablePath path)
        Specified by:
        isAvailable in interface org.kie.memorycompiler.resources.ResourceReader
      • getBytes

        public byte[] getBytes​(String path)
        Specified by:
        getBytes in interface InternalKieModule
        Specified by:
        getBytes in interface org.kie.memorycompiler.resources.ResourceReader
      • getBytes

        public byte[] getBytes​(org.drools.util.PortablePath path)
        Specified by:
        getBytes in interface InternalKieModule
        Specified by:
        getBytes in interface org.kie.memorycompiler.resources.ResourceReader
      • getResource

        public org.drools.io.InternalResource getResource​(org.drools.util.PortablePath path)
      • getFilePaths

        public Collection<org.drools.util.PortablePath> getFilePaths()
        Specified by:
        getFilePaths in interface org.kie.memorycompiler.resources.ResourceReader
      • mark

        public void mark()
        Specified by:
        mark in interface org.kie.memorycompiler.resources.ResourceReader
      • getModifiedResourcesSinceLastMark

        public Collection<String> getModifiedResourcesSinceLastMark()
        Specified by:
        getModifiedResourcesSinceLastMark in interface org.kie.memorycompiler.resources.ResourceReader