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