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(java.lang.String resourceName)byte[]getBytes(org.drools.util.PortablePath resourcePath)java.util.Collection<org.drools.util.PortablePath>getFilePaths()java.util.Collection<java.lang.String>getModifiedResourcesSinceLastMark()default booleanisAvailable(java.lang.String resourceName)booleanisAvailable(org.drools.util.PortablePath resourcePath)voidmark()
-
-
-
Method Detail
-
isAvailable
boolean isAvailable(org.drools.util.PortablePath resourcePath)
-
isAvailable
default boolean isAvailable(java.lang.String resourceName)
-
getBytes
byte[] getBytes(org.drools.util.PortablePath resourcePath)
-
getBytes
default byte[] getBytes(java.lang.String resourceName)
-
getFilePaths
java.util.Collection<org.drools.util.PortablePath> getFilePaths()
-
mark
void mark()
-
getModifiedResourcesSinceLastMark
java.util.Collection<java.lang.String> getModifiedResourcesSinceLastMark()
-
-