public class BuiltinFunctionLoader extends Object
BuiltinFunctionLoader.getInstance() to obtain the instance.| Modifier and Type | Method and Description |
|---|---|
static BuiltinFunctionLoader |
getInstance() |
Map<String,Function> |
listFunctions(ClassLoader classLoader,
Version version,
Scope closureScope)
Load function definitions from the default resource
from an arbitrary
ClassLoader. |
Map<String,Function> |
listFunctions(Version version,
Scope closureScope) |
void |
loadFunctions(ClassLoader classLoader,
Version version,
Scope closureScope) |
void |
loadFunctions(Version version,
Scope closureScope) |
Map<String,Function> |
loadFunctionsFromJsonJq(ClassLoader classLoader,
Version version,
Scope closureScope)
Do not use this method.
|
Map<String,Function> |
loadFunctionsFromServiceLoader(ClassLoader classLoader,
Version version)
Do not use this method.
|
public static BuiltinFunctionLoader getInstance()
public Map<String,Function> listFunctions(ClassLoader classLoader, Version version, Scope closureScope)
ClassLoader.
E.g. in an OSGi context this may be the Bundle's ClassLoader.public void loadFunctions(ClassLoader classLoader, Version version, Scope closureScope)
public Map<String,Function> loadFunctionsFromServiceLoader(ClassLoader classLoader, Version version)
Copyright © 2025. All rights reserved.