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 PlotDirective
createFromWorkspaceInfo(org.jdom2.Element workspaceInfo)
List<String>
getFilters()
String
getPlotName()
PlotType
getPlotType()
QuickFilterMode
getQuickFilterMode()
String
getQuickFilterString()
Class<?>
getSeriesClass()
List<PlotSeries>
getSeriesList()
String
getTableName()
org.jdom2.Element
getWorkspaceInfo()
Serialize the class into an element to be stored in the workspacevoid
setWorkspaceInfo(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:Workspace
Serialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfo
in interfaceWorkspace
- Returns:
- An
Element
containing the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)Description copied from interface:Workspace
Restore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfo
in interfaceWorkspace
- Parameters:
workspaceInfo
- AnElement
containing the persisted state.
-