|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjenkins.plugins.clangscanbuild.actions.ClangScanBuildAction
public class ClangScanBuildAction
This contributes the menu to the left used to access reports/whatever from inside a particular job's results. This is called a "BuildAction" because it contributes a link to the left and a URL to a specific build.
| Field Summary | |
|---|---|
static String |
BUILD_ACTION_URL_NAME
|
| Constructor Summary | |
|---|---|
ClangScanBuildAction(hudson.model.AbstractBuild<?,?> build,
int bugCount,
boolean markBuildUnstable,
int bugThreshold,
hudson.FilePath bugSummaryXML)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BUILD_ACTION_URL_NAME
| Constructor Detail |
|---|
public ClangScanBuildAction(hudson.model.AbstractBuild<?,?> build,
int bugCount,
boolean markBuildUnstable,
int bugThreshold,
hudson.FilePath bugSummaryXML)
| Method Detail |
|---|
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.StaplerProxy
public void doBrowse(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||