hudson.plugins.covcomplplot.annalyzer
Class CloverMethodHandler
java.lang.Object
hudson.plugins.covcomplplot.annalyzer.AbstractMethodInfoHandler
hudson.plugins.covcomplplot.annalyzer.CloverMethodHandler
public class CloverMethodHandler
- extends AbstractMethodInfoHandler
|
Method Summary |
void |
checkBuild(hudson.model.AbstractBuild<?,?> build)
Check if passed build contains valid result for this handler processing. |
java.lang.String |
getCustomJavaScript()
|
java.lang.String |
getDescription()
Get the description of hudson plugin which this handler get information
from. |
java.lang.String |
getMethodUrlLocation(hudson.model.AbstractBuild<?,?> owner,
MethodInfo methodInfo)
Get method content URL. |
java.util.List<MethodInfo> |
process(hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
java.lang.String remoteDir,
LoggerWrapper logger,
Analyzer analyzer)
Parse the hudson plugin info and return the MethodInfo list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloverMethodHandler
public CloverMethodHandler()
process
public java.util.List<MethodInfo> process(hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
java.lang.String remoteDir,
LoggerWrapper logger,
Analyzer analyzer)
throws InvalidHudsonProjectException
- Description copied from class:
AbstractMethodInfoHandler
- Parse the hudson plugin info and return the
MethodInfo list.
- Specified by:
process in class AbstractMethodInfoHandler
- Parameters:
build - build infoexcludeGetterSetter - whether getter/setter methods are included or not.logger - logger to be usedanalyzer - information which analyzer is used.
- Returns:
MethodInfo list parsed.
- Throws:
InvalidHudsonProjectException
getCustomJavaScript
public java.lang.String getCustomJavaScript()
- Overrides:
getCustomJavaScript in class AbstractMethodInfoHandler
getMethodUrlLocation
public java.lang.String getMethodUrlLocation(hudson.model.AbstractBuild<?,?> owner,
MethodInfo methodInfo)
- Description copied from class:
AbstractMethodInfoHandler
- Get method content URL. Each handler should implements this method to get
the appropriate URL for each method source code.
- Specified by:
getMethodUrlLocation in class AbstractMethodInfoHandler
- Parameters:
owner - build against each methodInfo.methodInfo - methodInfo.
- Returns:
- URL statign from each hudson job URL.
checkBuild
public void checkBuild(hudson.model.AbstractBuild<?,?> build)
throws InvalidHudsonProjectException
- Description copied from class:
AbstractMethodInfoHandler
- Check if passed build contains valid result for this handler processing.
This method is invoked before the process method is called.
- Specified by:
checkBuild in class AbstractMethodInfoHandler
- Throws:
InvalidHudsonProjectException
getDescription
public java.lang.String getDescription()
- Description copied from class:
AbstractMethodInfoHandler
- Get the description of hudson plugin which this handler get information
from.
- Specified by:
getDescription in class AbstractMethodInfoHandler
- Returns:
Copyright © 2010. All Rights Reserved.