Class PlotDirective
java.lang.Object
com.illumon.iris.console.events.plot.PlotDirective
- All Implemented Interfaces:
Workspace,Serializable
public class PlotDirective extends Object implements Workspace, Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlotDirective()PlotDirective(String plotName, PlotType plotType, String tableName, List<PlotSeries> seriesList, Class<?> seriesClass, List<String> filters, String quickFilterString, QuickFilterMode quickFilterMode) -
Method Summary
Modifier and Type Method Description static PlotDirectivecreateFromWorkspaceInfo(org.jdom2.Element workspaceInfo)List<String>getFilters()StringgetPlotName()PlotTypegetPlotType()QuickFilterModegetQuickFilterMode()StringgetQuickFilterString()Class<?>getSeriesClass()List<PlotSeries>getSeriesList()StringgetTableName()org.jdom2.ElementgetWorkspaceInfo()Serialize 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 workspaceInfo
-
Field Details
-
NODE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PlotDirective
public PlotDirective() -
PlotDirective
public PlotDirective(String plotName, PlotType plotType, String tableName, List<PlotSeries> seriesList, Class<?> seriesClass, List<String> filters, String quickFilterString, QuickFilterMode quickFilterMode)
-
-
Method Details
-
createFromWorkspaceInfo
-
getPlotName
-
getPlotType
-
getTableName
-
getSeriesList
-
getSeriesClass
-
getFilters
-
getQuickFilterString
-
getQuickFilterMode
-
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.
-