|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.serenitec.SerenitecProjectAction
public class SerenitecProjectAction
The class SerenitecProjectAction.
| Constructor Summary | |
|---|---|
SerenitecProjectAction(hudson.model.AbstractProject<?,?> project,
int height)
Instantiates a new find bugs project action. |
|
SerenitecProjectAction(hudson.model.AbstractProject<?,?> project,
SerenitecDescriptor plugin,
int height)
Creates a new instance of SerenitecProjectAction. |
|
| Method Summary | |
|---|---|
void |
doFlipTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Changes the trend graph display mode. |
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Redirects the index page to the last result. |
void |
doTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the trend graph. |
void |
doTrendMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the trend map. |
java.lang.String |
getCookieName()
Return the cookie name |
java.lang.String |
getDisplayName()
return the Display name |
java.lang.String |
getIconFileName()
Returns the icon URL for the side-panel in the project screen. |
ResultAction<?> |
getLastAction()
Returns the last valid result action. |
hudson.model.AbstractBuild<?,?> |
getLastFinishedBuild()
Returns the last finished build. |
hudson.model.AbstractProject<?,?> |
getProject()
Returns the project. |
java.lang.String |
getUrlName()
|
boolean |
hasValidResults()
Returns whether we have enough valid results in order to draw a meaningful graph. |
boolean |
isHealthinessEnabled()
Returns whether we should display the toggle graph type links. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerenitecProjectAction(hudson.model.AbstractProject<?,?> project,
int height)
project - the project that owns this actionheight - the height of the trend graph
public SerenitecProjectAction(hudson.model.AbstractProject<?,?> project,
SerenitecDescriptor plugin,
int height)
SerenitecProjectAction.
project - the project that owns this actionresultActionType - the type of the result actionplugin - the plug-in that owns this actionheight - the height of the trend graph| Method Detail |
|---|
public void doFlipTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error
public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error
public void doTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
ResultAction.
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an error in
ResultAction.doGraph(StaplerRequest, StaplerResponse, int)
public void doTrendMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
ResultAction.
request - Stapler requestresponse - Stapler response
java.io.IOException - in case of an errorpublic java.lang.String getCookieName()
public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic java.lang.String getIconFileName()
null is returned.
getIconFileName in interface hudson.model.Actionpublic ResultAction<?> getLastAction()
null if no such
action is foundpublic hudson.model.AbstractBuild<?,?> getLastFinishedBuild()
null if there is no
such buildpublic final hudson.model.AbstractProject<?,?> getProject()
public final java.lang.String getUrlName()
getUrlName in interface hudson.model.Actionpublic final boolean hasValidResults()
true if the results are valid in order to draw a
graphpublic final boolean isHealthinessEnabled()
true if we should display the toggle graph type
links
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||