Class ResourceCollector


  • public class ResourceCollector
    extends Object
    • 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.