public class ClangScanBuildAction extends Object implements hudson.model.Action, org.kohsuke.stapler.StaplerProxy, hudson.model.ModelObject
| Modifier and Type | Field and Description |
|---|---|
hudson.model.AbstractBuild<?,?> |
build |
static String |
BUILD_ACTION_URL_NAME |
| Constructor and Description |
|---|
ClangScanBuildAction(hudson.model.AbstractBuild<?,?> build,
int bugCount,
boolean markBuildUnstable,
int bugThreshold,
hudson.FilePath bugSummaryXML,
String outputFolderName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
buildFailedDueToExceededThreshold() |
void |
doBrowse(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
This method is used to serve up report HTML files from the hidden build folder.
|
int |
getBugCount() |
int |
getBugThreshhold() |
String |
getDisplayName()
Title of link display on job results screen.
|
String |
getIconFileName()
Indicates which icon should be displayed next to the link
|
Object |
getTarget()
This method needs to return the object that is responsible
for handling web requests.
|
String |
getUrlName()
This object will be reference if a request comes into the following url:
http://[jenkins]/job/[job name]/[job number]/clangBugReport
|
ClangScanBuildBugSummary |
loadBugSummary()
The only thing stored in the actual builds in the bugCount and bugThreshold.
|
public static final String BUILD_ACTION_URL_NAME
public hudson.model.AbstractBuild<?,?> build
public ClangScanBuildAction(hudson.model.AbstractBuild<?,?> build,
int bugCount,
boolean markBuildUnstable,
int bugThreshold,
hudson.FilePath bugSummaryXML,
String outputFolderName)
public boolean buildFailedDueToExceededThreshold()
public int getBugThreshhold()
public ClangScanBuildBugSummary loadBugSummary()
public int getBugCount()
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic void doBrowse(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOExceptionCopyright © 2004-2015. All Rights Reserved.