hudson.plugins.violations.graph
Class SeverityTypeDataSet

java.lang.Object
  extended by hudson.plugins.violations.graph.SeverityTypeDataSet

public class SeverityTypeDataSet
extends java.lang.Object

Class to construct a dataset for severities of a particular type.


Constructor Summary
SeverityTypeDataSet(ViolationsReport report, java.lang.String type)
          Create a SeverityTypeData set from a report and a type.
 
Method Summary
 org.jfree.data.category.CategoryDataset buildDataSet()
          Build the data set.
 org.jfree.chart.JFreeChart createChart()
          Create a JFree chart for this dataset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeverityTypeDataSet

public SeverityTypeDataSet(ViolationsReport report,
                           java.lang.String type)
Create a SeverityTypeData set from a report and a type.

Parameters:
report - the current report.
type - the type of violation to build from.
Method Detail

buildDataSet

public org.jfree.data.category.CategoryDataset buildDataSet()
Build the data set.

Returns:
the dataset.

createChart

public org.jfree.chart.JFreeChart createChart()
Create a JFree chart for this dataset.

Returns:
the chart.


Copyright © 2004-2012. All Rights Reserved.