hudson.plugins.covcomplplot
Class CovComplPlotTaget
java.lang.Object
hudson.plugins.covcomplplot.CovComplPlotTaget
- All Implemented Interfaces:
- java.io.Serializable
public class CovComplPlotTaget
- extends java.lang.Object
- implements java.io.Serializable
Target containing coverage and complexity methods. This class handles graph
and map generation in default and This class handles method list output when
it is used in the detailed view. CovComplPlotTaget is used as a top
level information holder. It defers the detailed information to
CovComplPlotMethods.
- Author:
- nhn
- See Also:
- Serialized Form
|
Field Summary |
java.lang.Object |
lock
|
|
Constructor Summary |
CovComplPlotTaget(hudson.model.AbstractBuild<?,?> owner,
java.util.List<MethodInfo> methodInfoList,
Analyzer analyzer,
java.util.Calendar ownersTimeStamp)
Constructor for detailed level information holder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
public java.lang.Object lock
CovComplPlotTaget
public CovComplPlotTaget(hudson.model.AbstractBuild<?,?> owner,
java.util.List<MethodInfo> methodInfoList,
Analyzer analyzer,
java.util.Calendar ownersTimeStamp)
- Constructor for detailed level information holder
- Parameters:
owner - methodInfoList - ownersTimeStamp -
getOwner
public hudson.model.AbstractBuild<?,?> getOwner()
- Get the build which owns this information.
- Returns:
- build object
getMethodUrlLocation
public java.lang.String getMethodUrlLocation(MethodInfo methodInfo)
getGraph
public CovComplPlotTaget.GraphImpl getGraph()
- Get graph. This will be called to show graph from jelly.
- Returns:
- GraphImpl object
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="cov")
int cov,
@QueryParameter(value="compl")
int compl,
@QueryParameter(value="page")
int page)
throws javax.servlet.ServletException,
java.io.IOException
- Parameters:
token - req - rsp - cov - compl - start - size -
- Throws:
javax.servlet.ServletException
java.io.IOException
getDescription
public java.lang.String getDescription()
generateXYDataset
public org.jfree.data.xy.DefaultXYZDataset generateXYDataset()
setOwner
public void setOwner(hudson.model.AbstractBuild<?,?> owner)
loadCloverScatterPlotTarget
public static CovComplPlotTaget loadCloverScatterPlotTarget(hudson.model.AbstractBuild<?,?> build)
throws java.io.IOException
- Throws:
java.io.IOException
saveCloverScatterPlotTarget
public static void saveCloverScatterPlotTarget(hudson.model.AbstractBuild<?,?> build,
CovComplPlotTaget target)
throws java.io.IOException
- Throws:
java.io.IOException
getMethodInfoList
public java.util.List<MethodInfo> getMethodInfoList()
Copyright © 2010. All Rights Reserved.