hudson.plugins.checkstyle
Class CheckStyleResultBuilder
java.lang.Object
hudson.plugins.checkstyle.CheckStyleResultBuilder
public class CheckStyleResultBuilder
- extends java.lang.Object
Creates a new Checkstyle result based on the values of a previous build and the
current project.
- Author:
- Ulli Hafner
|
Method Summary |
CheckStyleResult |
build(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.core.ParserResult result,
java.lang.String defaultEncoding)
Creates a result that persists the Checkstyle information for the
specified build. |
CheckStyleMavenResult |
buildMaven(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.core.ParserResult result,
java.lang.String defaultEncoding)
Creates a result that persists the Checkstyle information for the
specified build. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckStyleResultBuilder
public CheckStyleResultBuilder()
build
public CheckStyleResult build(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.core.ParserResult result,
java.lang.String defaultEncoding)
- Creates a result that persists the Checkstyle information for the
specified build.
- Parameters:
build - the build to create the action forresult - the result containing the annotationsdefaultEncoding - the default encoding to be used when reading and parsing files
- Returns:
- the result action
buildMaven
public CheckStyleMavenResult buildMaven(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.core.ParserResult result,
java.lang.String defaultEncoding)
- Creates a result that persists the Checkstyle information for the
specified build.
- Parameters:
build - the build to create the action forresult - the result containing the annotationsdefaultEncoding - the default encoding to be used when reading and parsing files
- Returns:
- the result action
Copyright © 2010. All Rights Reserved.