com.apama.dashboard
Class DashboardManager

java.lang.Object
  extended by 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
DashboardManager()
           
 
Method Summary
static IDashboardContext getCommandDashboardContext()
          Gets the dashboard context for a command.
static IDashboardContext getFunctionDashboardContext(IVariableData variables)
          Gets the dashboard context for a function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG