Class BackendDateFunction
- java.lang.Object
-
- org.dashbuilder.external.impl.function.BackendDateFunction
-
- All Implemented Interfaces:
BackendComponentFunction<String>
@Dependent public class BackendDateFunction extends Object implements BackendComponentFunction<String>
Component backend function that returns the date.
-
-
Constructor Summary
Constructors Constructor Description BackendDateFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexec(Map<String,Object> params)The function execution.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dashbuilder.external.impl.BackendComponentFunction
getName
-
-
-
-
Method Detail
-
exec
public String exec(Map<String,Object> params)
Description copied from interface:BackendComponentFunctionThe function execution. Must return an object that can be used in browser windows communication.- Specified by:
execin interfaceBackendComponentFunction<String>- Parameters:
params- Params set by user when configuring the component.- Returns:
- The result
-
-