Package com.schibsted.spt.data.jslt.impl
Class ModuleImpl
- java.lang.Object
-
- com.schibsted.spt.data.jslt.impl.ModuleImpl
-
-
Constructor Summary
Constructors Constructor Description ModuleImpl(java.util.Map<java.lang.String,Function> functions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Callable
getCallable(java.lang.String name)
Returns the function with the given name.
-
-
-
Field Detail
-
functions
java.util.Map<java.lang.String,Function> functions
-
-
Constructor Detail
-
ModuleImpl
public ModuleImpl(java.util.Map<java.lang.String,Function> functions)
-
-
Method Detail
-
getCallable
public Callable getCallable(java.lang.String name)
Description copied from interface:Module
Returns the function with the given name. The return value is a Callable, because the method may also return a macro.- Specified by:
getCallable
in interfaceModule
-
-