protected class ProcessorModule.ProcessFunction extends AbstractFunction<Map<?,?>>
ProcessorModule.process(PageInfo, Hashtable, Hashtable). See in
MMAdmin for an example on how to use. It does not support multipible commands, so the first
Hashtable always contains precisely one entry. The value of the entry is the value of the
first string parameter or the empty string. All parameters are added to the second Hashtable
parameter ('vars'), and this is also returned (because sometimes also results are put in it).autoReturnType, name, returnType| Constructor and Description |
|---|
ProcessFunction(String name,
Parameter<Object>[] params) |
| Modifier and Type | Method and Description |
|---|---|
Map |
getFunctionValue(Parameters arguments)
Executes the defined function supplying the given arguments.
|
compareTo, createParameters, equals, getDescription, getFunctionValueWithList, getName, getParameterDefinition, getReturnType, hashCode, setDescription, setParameterDefinition, setReturnType, toStringpublic Map getFunctionValue(Parameters arguments)
AbstractFunctiongetFunctionValue in interface Function<Map<?,?>>getFunctionValue in class AbstractFunction<Map<?,?>>arguments - The parameters for the function. To specify an empty parameter list use Parameters.VOID.
Implementors are encouraged to support null too.AbstractFunction.getReturnType()AbstractFunction.createParameters()MMBase 1.9-SNAPSHOT - ${javadoctimestamp}