Package com.apama.dashboard
Class DashboardManager
- java.lang.Object
-
- com.apama.dashboard.DashboardManager
-
public class DashboardManager extends java.lang.Object
DashboardManager is a class that provides static methods for getting the IDashboardContext for use in a custom function or command.
-
-
Constructor Summary
Constructors Constructor Description DashboardManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IDashboardContext
getCommandDashboardContext()
Gets the dashboard context for a command.static IDashboardContext
getFunctionDashboardContext(IVariableData variables)
Gets the dashboard context for a function.static com.apama.dashboard.IDashboardQueryContext
getQueryContext()
Get the dashboard query context instance.
-
-
-
Method Detail
-
getCommandDashboardContext
public static IDashboardContext getCommandDashboardContext()
Gets the dashboard context for a command. Commands needing an IDashboardContext must retrieve it on each command invocation.- Returns:
- Instance of IDashboardContext.
-
getFunctionDashboardContext
public static IDashboardContext getFunctionDashboardContext(IVariableData variables)
Gets the dashboard context for a function. Function needing an IDashboardContext must retrieve it on each function evaluation.- Parameters:
variables
- Variable arguments to function.- Returns:
- Instance of IDashboardContext.
-
getQueryContext
public static com.apama.dashboard.IDashboardQueryContext getQueryContext()
Get the dashboard query context instance. This is needed for custom code to excute SQL query- Returns:
- the queryContext object or null.
-
-