|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.covcomplplot.analyzer.AbstractMethodInfoHandler
hudson.plugins.covcomplplot.analyzer.CloverBranchCoverageMethodHandler
public class CloverBranchCoverageMethodHandler
Clover result handler. This class is responsible to read the clover result
and make the MethodInfo list. In addition, some clover specific
actions.
| Constructor Summary | |
|---|---|
CloverBranchCoverageMethodHandler()
|
|
| Method Summary | |
|---|---|
void |
checkBuild(hudson.model.AbstractBuild<?,?> build)
Check if passed AbstractBuild contains valid hudson plugin result
for this handler processing. |
java.lang.String |
getCustomJavaScript()
|
java.lang.String |
getDescription()
Get the description of Hudson plugin from which this handler get information |
java.lang.String |
getMethodUrlLocation(hudson.model.AbstractBuild<?,?> owner,
MethodInfo methodInfo)
Get method content URL. |
protected boolean |
isGetterSetter(MethodInfo method)
Check if the give method is valid |
protected boolean |
isMethodValid(MethodInfo method,
boolean excludeGetterSetter)
Check if the method is valid. |
java.util.List<MethodInfo> |
process(hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
java.lang.String remoteDir,
LoggerWrapper logger,
Analyzer analyzer)
Parse the Hudson plugin result and return the MethodInfo list. |
| Methods inherited from class hudson.plugins.covcomplplot.analyzer.AbstractMethodInfoHandler |
|---|
checkBuildContainningBuildAction, getBuildArtifact, getCustomSourceViewBuildAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CloverBranchCoverageMethodHandler()
| Method Detail |
|---|
public java.util.List<MethodInfo> process(hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
java.lang.String remoteDir,
LoggerWrapper logger,
Analyzer analyzer)
throws InvalidHudsonProjectException
AbstractMethodInfoHandlerMethodInfo list.
process in class AbstractMethodInfoHandlerbuild - build infoexcludeGetterSetter - whether getter/setter methods are included or not.remoteDir - base directory of build.logger - logger to be usedanalyzer - information which analyzer is used.
MethodInfo list parsed.
InvalidHudsonProjectException
protected boolean isMethodValid(MethodInfo method,
boolean excludeGetterSetter)
isMethodValid in class AbstractMethodInfoHandlermethod - method to checked. if it's null, it's valid.excludeGetterSetter - true if the getter/setter should be excluded.
protected boolean isGetterSetter(MethodInfo method)
isGetterSetter in class AbstractMethodInfoHandlermethod - method to be checked
public java.lang.String getCustomJavaScript()
getCustomJavaScript in class AbstractMethodInfoHandler
public java.lang.String getMethodUrlLocation(hudson.model.AbstractBuild<?,?> owner,
MethodInfo methodInfo)
AbstractMethodInfoHandler
getMethodUrlLocation in class AbstractMethodInfoHandlerowner - AbstractBuild instance against each methodInfo.methodInfo - method.
public void checkBuild(hudson.model.AbstractBuild<?,?> build)
throws InvalidHudsonProjectException
AbstractMethodInfoHandlerAbstractBuild contains valid hudson plugin result
for this handler processing. This method is invoked before the process
method is called.
checkBuild in class AbstractMethodInfoHandlerInvalidHudsonProjectExceptionpublic java.lang.String getDescription()
AbstractMethodInfoHandler
getDescription in class AbstractMethodInfoHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||