- java.lang.Object
-
- io.virtdata.services.ModuleFunctionFinder
-
- All Implemented Interfaces:
FunctionFinderService
public class ModuleFunctionFinder extends java.lang.Object implements FunctionFinderService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.virtdata.services.FunctionFinderService
FunctionFinderService.Path
-
-
Field Summary
-
Fields inherited from interface io.virtdata.services.FunctionFinderService
FUNCTIONS_FILE
-
-
Constructor Summary
Constructors Constructor Description ModuleFunctionFinder()
-
Method Summary
Modifier and Type Method Description java.util.List<? extends DocFuncData>getFuncDataForModule()Return a list of information models which describe a usable VirtData function.java.util.List<FunctionFinderService.Path>getFunctionPaths()Return a list of known functions by module and fully-qualified package name.java.lang.ModulegetModuleOfFinder()java.lang.StringtoString()
-
-
-
Method Detail
-
getModuleOfFinder
public java.lang.Module getModuleOfFinder()
-
getFunctionPaths
public java.util.List<FunctionFinderService.Path> getFunctionPaths()
Description copied from interface:FunctionFinderServiceReturn a list of known functions by module and fully-qualified package name. For example, "io.virtdata.lib.basics/io.virtdata.basicsmappers.unary_int.Add"; The part before the slash is the JPMS module name and the part after is the canonical class name. The result will be a list of functions as discovered in the module content, for only the owning module.- Specified by:
getFunctionPathsin interfaceFunctionFinderService- Returns:
- A list of zero or more JPMS-qualifed package names.
-
getFuncDataForModule
public java.util.List<? extends DocFuncData> getFuncDataForModule()
Description copied from interface:FunctionFinderServiceReturn a list of information models which describe a usable VirtData function.- Specified by:
getFuncDataForModulein interfaceFunctionFinderService- Returns:
- A list of zero or more JPMS-instantiated DocFuncData models.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-