hudson.plugins.analysis.graph
Class NullGraph

java.lang.Object
  extended by hudson.plugins.analysis.graph.BuildResultGraph
      extended by hudson.plugins.analysis.graph.EmptyGraph
          extended by hudson.plugins.analysis.graph.NullGraph

public class NullGraph
extends EmptyGraph

Empty graph. Null object: this graph does not render anything. Additionally, there is no enable graph link presented in the UI.

Author:
Ulli Hafner

Constructor Summary
NullGraph()
           
 
Method Summary
 String getId()
          Returns the ID of this graph.
 boolean isDeactivated()
          Returns whether the graph is deactivated.
 boolean isSelectable()
          Returns whether this graph is selectable.
 
Methods inherited from class hudson.plugins.analysis.graph.EmptyGraph
create, createAggregation, getLabel, isVisible
 
Methods inherited from class hudson.plugins.analysis.graph.BuildResultGraph
computeDayDelta, computeDayDelta, createXYChart, getExampleImage, getGraph, getGraph, getPlugin, getRootUrl, isBuildTooOld, setPlotProperties, setRootUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullGraph

public NullGraph()
Method Detail

getId

public String getId()
Description copied from class: BuildResultGraph
Returns the ID of this graph.

Overrides:
getId in class EmptyGraph
Returns:
the ID of this graph

isDeactivated

public boolean isDeactivated()
Description copied from class: BuildResultGraph
Returns whether the graph is deactivated. If the graph is deactivated, then no "enable graph" link is shown.

Overrides:
isDeactivated in class BuildResultGraph
Returns:
true if the graph is deactivated, false otherwise

isSelectable

public boolean isSelectable()
Description copied from class: BuildResultGraph
Returns whether this graph is selectable.

Overrides:
isSelectable in class BuildResultGraph
Returns:
true if this graph is selectable, false otherwise


Copyright © 2004-2012 Hudson. All Rights Reserved.