public class JDependRecorder
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
JDependRecorder.DescriptorImpl
Descriptor for
JDependRecorder. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
JDependRecorder(String configuredJDependFile) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
generateJDependReport(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
The protected method of generating a JDepend report to allow
extensions to override the perform step to add pre/post-stages
|
String |
getConfiguredJDependFile() |
JDependParser |
getConfiguredParser(hudson.model.AbstractBuild<?,?> build,
String configuredPath)
Parses a JDepend file that has been generated already
|
protected JDependParser |
getJDependParser(File jDependExistingFile) |
protected JDependParser |
getJDependParser(File jDependOutputFile,
String sourcePath)
Gets a location to output a JDepend file, the source to run JDepend
on, then returns a parsed version of the JDepend file
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected void |
log(String message)
Log output to the given logger, using the JDepend identifier
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
This runs a JDepend analysis job when the build is performed.
|
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public JDependRecorder(String configuredJDependFile)
protected void log(String message)
message - The message to be outputtedpublic JDependParser getConfiguredParser(hudson.model.AbstractBuild<?,?> build, String configuredPath)
protected JDependParser getJDependParser(File jDependOutputFile, String sourcePath) throws IOException, ParserConfigurationException, SAXException
jDependOutputFile - the temporary file that JDepend should
output tosourcePath - the path to the source that JDepend should analyzeIOExceptionParserConfigurationExceptionSAXExceptionprotected JDependParser getJDependParser(File jDependExistingFile) throws ParserConfigurationException, SAXException, IOException
protected boolean generateJDependReport(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
build - launcher - listener - public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic String getConfiguredJDependFile()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2009–2018. All rights reserved.