Class 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 Detail

      • DashboardManager

        public DashboardManager()
    • 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.