Package org.kie.memorycompiler.resources
Interface ResourceReader
-
- All Known Implementing Classes:
MemoryResourceReader
public interface ResourceReaderA ResourceReader provide access to resource like e.g. source code
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default byte[]getBytes(String resourceName)byte[]getBytes(org.drools.util.PortablePath resourcePath)Collection<org.drools.util.PortablePath>getFilePaths()Collection<String>getModifiedResourcesSinceLastMark()default booleanisAvailable(String resourceName)booleanisAvailable(org.drools.util.PortablePath resourcePath)voidmark()
-
-
-
Method Detail
-
isAvailable
boolean isAvailable(org.drools.util.PortablePath resourcePath)
-
isAvailable
default boolean isAvailable(String resourceName)
-
getBytes
byte[] getBytes(org.drools.util.PortablePath resourcePath)
-
getBytes
default byte[] getBytes(String resourceName)
-
getFilePaths
Collection<org.drools.util.PortablePath> getFilePaths()
-
mark
void mark()
-
getModifiedResourcesSinceLastMark
Collection<String> getModifiedResourcesSinceLastMark()
-
-