|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.findbugs.FindBugsProjectAction
public class FindBugsProjectAction
Entry point to visualize the FindBugs trend graph. Drawing of the graph is
delegated to the associated FindBugsResultAction.
| Constructor Summary | |
|---|---|
FindBugsProjectAction(hudson.model.Project<?,?> project)
Instantiates a new find bugs project action. |
|
| Method Summary | |
|---|---|
void |
doTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the warnings trend. |
void |
doTrendMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the warnings trend map. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconFileName()
|
FindBugsResultAction |
getLastAction()
Returns the last valid FindBugs result action. |
hudson.model.Project<?,?> |
getProject()
Returns the project. |
java.lang.String |
getUrlName()
|
boolean |
hasValidResults(hudson.model.Build<?,?> build)
Returns whether we have enough valid results in order to draw a meaningful graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsProjectAction(hudson.model.Project<?,?> project)
project - the project that owns this action| Method Detail |
|---|
public hudson.model.Project<?,?> getProject()
public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic java.lang.String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic java.lang.String getUrlName()
getUrlName in interface hudson.model.Actionpublic boolean hasValidResults(hudson.model.Build<?,?> build)
build - the build to look backward from
true if the results are valid in order to draw a
graph
public void doTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
FindBugsResultAction.
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error in
FindBugsResultAction.doGraph(StaplerRequest, StaplerResponse)
public void doTrendMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
FindBugsResultAction.
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error in
FindBugsResultAction.doGraph(StaplerRequest, StaplerResponse)public FindBugsResultAction getLastAction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||