Class ResourceCollector
- java.lang.Object
-
- org.drools.drl.quarkus.deployment.ResourceCollector
-
public class ResourceCollector extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<org.kie.api.io.Resource>fromDirectory(java.nio.file.Path path)Returns a collection of CollectedResource from the given directory.static java.util.Collection<org.kie.api.io.Resource>fromJarFile(java.nio.file.Path jarPath)Returns a collection of CollectedResource from the given jar file.static java.util.Collection<org.kie.api.io.Resource>fromPaths(java.nio.file.Path... paths)Returns a collection of CollectedResource from the given paths.
-
-
-
Method Detail
-
fromPaths
public static java.util.Collection<org.kie.api.io.Resource> fromPaths(java.nio.file.Path... paths)
Returns a collection of CollectedResource from the given paths. If a path is a jar, then walks inside the jar.
-
fromJarFile
public static java.util.Collection<org.kie.api.io.Resource> fromJarFile(java.nio.file.Path jarPath)
Returns a collection of CollectedResource from the given jar file.
-
fromDirectory
public static java.util.Collection<org.kie.api.io.Resource> fromDirectory(java.nio.file.Path path)
Returns a collection of CollectedResource from the given directory.
-
-