|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.plugins.covcomplplot.CovComplPlotPublisher
public class CovComplPlotPublisher
CovComplPlotPublisher is the main class for this plugin.
It's a subclass of Notifier so that CovComplPlotPublisher should be executed
after corresponding coverage plugin is performed.
| Nested Class Summary | |
|---|---|
static class |
CovComplPlotPublisher.DescriptorImpl
Descriptor for CovComplPlotPublisher. |
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary | |
|---|---|
Analyzer |
analyzer
Analyzer to be used in this instance. |
boolean |
excludeGetterSetter
Exclude the getter / setter methods |
boolean |
verbose
Verbose logging mode |
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
CovComplPlotPublisher(Analyzer analyzer,
boolean excludeGetterSetter,
boolean verbose,
boolean locateTopMost)
Constructor |
|
| Method Summary | |
|---|---|
CovComplPlotBuildAction |
createCovComplScatterPlotBuildAction(hudson.model.AbstractBuild<?,?> build,
List<MethodInfo> methods)
Create CovComplPlotBuildAction |
Analyzer |
getAnalyzer()
Get analyzer |
List<MethodInfo> |
getCovComplMethodInfoList(Analyzer analyzer,
hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
String rootDir,
LoggerWrapper logger)
Create MethodInfo list using given analyzer. |
CovComplPlotPublisher.DescriptorImpl |
getDescriptor()
|
protected LoggerWrapper |
getLoggerWrapper(hudson.model.BuildListener listener)
Get LoggerWrapper instance from build listener.This method is a subject to be overridden for unit test |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
boolean |
isLocateTopMost()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
void |
setLocateTopMost(boolean locateTopMost)
|
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
|---|
getProjectActions, prebuild |
| Field Detail |
|---|
public final Analyzer analyzer
public final boolean verbose
public final boolean excludeGetterSetter
| Constructor Detail |
|---|
@DataBoundConstructor
public CovComplPlotPublisher(Analyzer analyzer,
boolean excludeGetterSetter,
boolean verbose,
boolean locateTopMost)
analyzer - analyzer to be usedexcludeGetterSetter - true if getter/setter methods are excluded.verbose - true if verbose logging mode is on| Method Detail |
|---|
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayer
public CovComplPlotBuildAction createCovComplScatterPlotBuildAction(hudson.model.AbstractBuild<?,?> build,
List<MethodInfo> methods)
throws IOException
CovComplPlotBuildAction
build - Current AbstractBuild instance.methods - MethodInfo list which will be contained in
CovComplPlotBuildAction instance.
CovComplPlotBuildAction
IOException
public List<MethodInfo> getCovComplMethodInfoList(Analyzer analyzer,
hudson.model.AbstractBuild<?,?> build,
boolean excludeGetterSetter,
String rootDir,
LoggerWrapper logger)
throws InvalidHudsonProjectException
MethodInfo list using given analyzer.
analyzer - analyzerbuild - current buildexcludeGetterSetter - true if getter/setter methods are excluded.rootDir - logger - logger
MethodInfo list
InvalidHudsonProjectException - occurs when the data extracting is failed by some problem in
project.public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerprotected LoggerWrapper getLoggerWrapper(hudson.model.BuildListener listener)
LoggerWrapper instance from build listener.
listener - listener from which the logger is extracted.
LoggerWrapper instancepublic CovComplPlotPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public Analyzer getAnalyzer()
public void setLocateTopMost(boolean locateTopMost)
public boolean isLocateTopMost()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||