public class AppThwackProjectAction extends Object implements hudson.model.Action
| Constructor and Description |
|---|
AppThwackProjectAction(hudson.model.AbstractProject<?,?> project)
Create new AppThwack project action
|
| Modifier and Type | Method and Description |
|---|---|
void |
doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Return trend graph of all AppThwack results for this project.
|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Serve up AppThwack project page which redirects to the latest
test results or 404.
|
String |
getDisplayName() |
String |
getIconFileName() |
AppThwackTestResultAction |
getLastBuildAction()
Return the action of last build associated with AppThwack
|
ArrayList<AppThwackTestResultAction> |
getLastBuildActions()
Return the action of all previous builds associated with AppThwack
|
ArrayList<AppThwackTestResultAction> |
getLastBuildActions(int n)
Return the actions of 'n' previous builds associated with AppThwack
|
hudson.model.AbstractProject<?,?> |
getProject()
Get project associated with this action
|
String |
getUrlName() |
boolean |
shouldDisplayGraph()
Returns true if there are any builds in the associated project.
|
public AppThwackProjectAction(hudson.model.AbstractProject<?,?> project)
project - Project which this action will be applied topublic hudson.model.AbstractProject<?,?> getProject()
public boolean shouldDisplayGraph()
public AppThwackTestResultAction getLastBuildAction()
public ArrayList<AppThwackTestResultAction> getLastBuildActions()
public ArrayList<AppThwackTestResultAction> getLastBuildActions(int n)
n - public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionjavax.servlet.ServletExceptionpublic 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.ActionCopyright © 2004-2014. All Rights Reserved.