hudson.plugins.covcomplplot
Class CovComplPlotMethods

java.lang.Object
  extended by hudson.plugins.covcomplplot.CovComplPlotMethods
All Implemented Interfaces:
java.io.Serializable

public class CovComplPlotMethods
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. CovComplPlotMethods is used as a top level information holder and detailed information holder as well.

Author:
nhn
See Also:
Serialized Form

Field Summary
 int compl
          Complexity Lower Bound
 int cov
          Coverage Lower Bound
 
Constructor Summary
CovComplPlotMethods(hudson.model.AbstractBuild<?,?> owner, java.util.List<MethodInfo> methodInfoList, Analyzer analyzer)
          Constructor for top level information holder.
CovComplPlotMethods(hudson.model.AbstractBuild<?,?> owner, java.util.List<MethodInfo> methodInfoList, Analyzer analyzer, int cov, int compl, int page, int totalCount)
          Constructor for detailed level information holder
 
Method Summary
 java.util.List<MethodInfo> getMethodInfoList()
           
 java.lang.String getMethodUrlLocation(MethodInfo methodInfo)
           
 hudson.model.AbstractBuild<?,?> getOwner()
          Get the build which owns this information.
 Pagination getPagination()
           
 java.lang.String getTitle()
           
 int getTotalCount()
           
 java.lang.String getUrl(MethodInfo methodInfo)
           
 void setOwner(hudson.model.AbstractBuild<?,?> owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cov

public final int cov
Coverage Lower Bound


compl

public final int compl
Complexity Lower Bound

Constructor Detail

CovComplPlotMethods

public CovComplPlotMethods(hudson.model.AbstractBuild<?,?> owner,
                           java.util.List<MethodInfo> methodInfoList,
                           Analyzer analyzer,
                           int cov,
                           int compl,
                           int page,
                           int totalCount)
Constructor for detailed level information holder

Parameters:
owner -
methodInfoList -
cov -
compl -

CovComplPlotMethods

public CovComplPlotMethods(hudson.model.AbstractBuild<?,?> owner,
                           java.util.List<MethodInfo> methodInfoList,
                           Analyzer analyzer)
Constructor for top level information holder.

Parameters:
owner -
methodInfoList -
totalSize -
page -
compl2 -
cov2 -
ownersTimeStamp -
Method Detail

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()
Get the build which owns this information.

Returns:
build object

getUrl

public java.lang.String getUrl(MethodInfo methodInfo)

getTitle

public java.lang.String getTitle()

getMethodUrlLocation

public java.lang.String getMethodUrlLocation(MethodInfo methodInfo)

getPagination

public Pagination getPagination()

setOwner

public void setOwner(hudson.model.AbstractBuild<?,?> owner)

getMethodInfoList

public java.util.List<MethodInfo> getMethodInfoList()

getTotalCount

public int getTotalCount()


Copyright © 2010. All Rights Reserved.