Package dev.getelements.elements.sdk.spi
Class DirectoryElementPathLoader
java.lang.Object
dev.getelements.elements.sdk.spi.DirectoryElementPathLoader
- All Implemented Interfaces:
ElementPathLoader
-
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.ElementPathLoader
ATTRIBUTES_PROPERTIES_FILE, CLASSPATH_DIR, ELEMENT_PATH_ENV, JAR_EXTENSION, LIB_DIR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionload
(MutableElementRegistry registry, Path path, ClassLoader baseClassLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.ElementPathLoader
load, load
-
Constructor Details
-
DirectoryElementPathLoader
public DirectoryElementPathLoader()
-
-
Method Details
-
load
public Stream<Element> load(MutableElementRegistry registry, Path path, ClassLoader baseClassLoader) Description copied from interface:ElementPathLoader
- Specified by:
load
in interfaceElementPathLoader
- Parameters:
registry
- the registry to use for loading theElement
instancespath
- thePath
baseClassLoader
- the baseClassLoader
used to load theElement
- Returns:
- a
Stream
ofElement
instances
-