Package com.orchestranetworks.addon.dmdv
Class GraphSpec
java.lang.Object
com.orchestranetworks.addon.dmdv.GraphSpec
- Direct Known Subclasses:
GraphDataSpec
,GraphModelSpec
Abstract class for graph specifications.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current configuration name from the add-on's administrative settings.boolean
Returnstrue
if graph title must be displayed;false
otherwise.boolean
Gets whether or not to force the graph to expand recursively.void
setDisplayGraphTitle
(boolean displayGraphTitle) Sets the option to display the graph title.void
setForceRecursiveExpand
(boolean forceRecursiveExpand) Sets whether or not to force the graph to expand recursively.void
setGraphConfigurationName
(String graphConfigurationName) Sets the graph configuration name.void
setOverviewDisplay
(OverviewDisplayOptions displayOptions) Sets the option to display the graph'sOverview
box on graph generation.
-
Constructor Details
-
GraphSpec
public GraphSpec()
-
-
Method Details
-
getGraphConfigurationName
Returns the current configuration name from the add-on's administrative settings. -
setGraphConfigurationName
Sets the graph configuration name. Ifnull
, the service will generate a graph without a configuration.- Parameters:
graphConfigurationName
- a specific name for the graph
-
isDisplayGraphTitle
public boolean isDisplayGraphTitle()Returnstrue
if graph title must be displayed;false
otherwise. -
setDisplayGraphTitle
public void setDisplayGraphTitle(boolean displayGraphTitle) Sets the option to display the graph title. Defaults tofalse
.- Parameters:
displayGraphTitle
- set totrue
if graph title must be displayed;false
otherwise.
-
setOverviewDisplay
Sets the option to display the graph'sOverview
box on graph generation. Defaults toOverviewDisplayOptions.ENABLE
- Parameters:
displayOptions
- set toOverviewDisplayOptions.ENABLE
if graph overview must be displayed;OverviewDisplayOptions.DISABLE
if graph overview must be hidden;OverviewDisplayOptions.MINIMIZE
if graph overview must be minimized.- Since:
- 1.3.0
- See Also:
-
isForceRecursiveExpand
public boolean isForceRecursiveExpand()Gets whether or not to force the graph to expand recursively.- Returns:
- Whether or not to force the graph to expand recursively.
- Since:
- 6.2.0
-
setForceRecursiveExpand
public void setForceRecursiveExpand(boolean forceRecursiveExpand) Sets whether or not to force the graph to expand recursively.The default value is
true
.- Parameters:
forceRecursiveExpand
- Whether or not to force the graph to expand recursively.- Since:
- 6.2.0
-