hudson.plugins.violations
Class ViolationsBuildAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.plugins.violations.hudson.AbstractViolationsBuildAction
hudson.plugins.violations.ViolationsBuildAction
- All Implemented Interfaces:
- hudson.maven.AggregatableAction, hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, org.kohsuke.stapler.StaplerProxy
public class ViolationsBuildAction
- extends AbstractViolationsBuildAction
- implements hudson.maven.AggregatableAction
This is the build action for the
violations. It has the violation report for
the build and is able to graph the violations.
The rendering of the build is done by the associated
summary.jelly script.
Methods inherited from class hudson.plugins.violations.hudson.AbstractViolationsBuildAction |
createChart, doGraph, findReport, getBuild, getBuildHealth, getDisplayName, getIconFileName, getPreviousResult, getSearchUrl, getTarget, getUrlName |
Methods inherited from class hudson.model.Actionable |
addAction, getAction, getAction, getActions, getActions, getDynamic |
Methods inherited from class hudson.model.AbstractModelObject |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.model.Action |
getDisplayName, getIconFileName, getUrlName |
ViolationsBuildAction
public ViolationsBuildAction(hudson.model.AbstractBuild<?,?> owner,
ViolationsReport report)
- Construct a build action.
- Parameters:
owner
- the build that has created this action.report
- the report for this build.
ViolationsBuildAction
public ViolationsBuildAction(hudson.model.AbstractBuild<?,?> owner)
- Constructor used for M2 projects.
This needs to be created during a "postExecute"
due to sequencing issue (1582). However,
it may be usefull to do this anyway.
report is set later.
- Parameters:
owner
- the build that has created this action.
createAggregatedAction
public hudson.maven.MavenAggregatedReport createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
- Specified by:
createAggregatedAction
in interface hudson.maven.AggregatableAction
setReport
public void setReport(ViolationsReport report)
- Set the report.
Used in M2.
- Parameters:
report
- the report for this build.
getReport
public ViolationsReport getReport()
- Description copied from class:
AbstractViolationsBuildAction
- Get the report.
- Specified by:
getReport
in class AbstractViolationsBuildAction
- Returns:
- the report.
Copyright © 2004-2012. All Rights Reserved.