package hudson.plugins.checkstyle;
import hudson.model.AbstractBuild;
import hudson.plugins.analysis.core.BuildResult;
import hudson.plugins.analysis.core.ParserResult;
import hudson.plugins.analysis.core.ResultAction;
/**
* Represents the aggregated results of the Checkstyle analysis in m2 jobs.
*
* @author Ulli Hafner
*/
public class CheckStyleMavenResult extends CheckStyleResult {
/** Unique ID of this class. */
private static final long serialVersionUID = -4913938782537266259L;
/**
* Creates a new instance of {@link CheckStyleMavenResult}.
*
* @param build
* the current build as owner of this action
* @param defaultEncoding
* the default encoding to be used when reading and parsing files
* @param result
* the parsed result with all annotations
*/
public CheckStyleMavenResult(final AbstractBuild<?, ?> build, final String defaultEncoding,
final ParserResult result) {
super(build, defaultEncoding, result);
}
/** {@inheritDoc} */
@Override
protected Class<? extends ResultAction<? extends BuildResult>> getResultActionType() {
return MavenCheckStyleResultAction.class;
}
}