Class SavedRollupsManager
java.lang.Object
com.illumon.iris.console.events.rollup.SavedRollupsManager
- All Implemented Interfaces:
Workspace
A singleton class to manage saved rollups by model.
-
Method Summary
Modifier and TypeMethodDescriptionGet all saved rollups for all models in the workspace.static SavedRollupsManagerGet the manager instance.getRollups(String modelName) Get all of the saved rollups for the specified model.org.jdom2.ElementSerialize the class into an element to be stored in the workspacevoidsetWorkspaceInfo(org.jdom2.Element workspaceInfo) Restore the class to the state defined by the data persisted in workspaceInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.gui.workspace.Workspace
isGlobalSetting
-
Method Details
-
getInstance
Get the manager instance.- Returns:
- the manager instance
-
getRollups
Get all of the saved rollups for the specified model.- Parameters:
modelName- the model- Returns:
- a modifiable map of saved rollups
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo) Description copied from interface:WorkspaceRestore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfoin interfaceWorkspace- Parameters:
workspaceInfo- AnElementcontaining the persisted state.
-
getAllSavedRollups
Get all saved rollups for all models in the workspace. The returned map is synchronized, and unmodifiable- Returns:
- all saved rollups
-