public class AWSDeviceFarmProjectAction extends Object implements hudson.model.Action
| Constructor and Description |
|---|
AWSDeviceFarmProjectAction(hudson.model.AbstractProject<?,?> project)
Create new AWS Device Farm 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 AWS Device Farm results for this project.
|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Serve up AWS Device Farm project page which redirects to the latest test results or 404.
|
String |
getDisplayName()
Get the display name.
|
String |
getIconFileName()
Get the icon file name.
|
AWSDeviceFarmTestResultAction |
getLastBuildAction()
Return the action of last build associated with AWS Device Farm.
|
ArrayList<AWSDeviceFarmTestResultAction> |
getLastBuildActions()
Return the action of all previous builds associated with AWS Device Farm.
|
ArrayList<AWSDeviceFarmTestResultAction> |
getLastBuildActions(int n)
Return the actions of 'n' previous builds associated with AWS Device Farm.
|
hudson.model.AbstractProject<?,?> |
getProject()
Get project associated with this action.
|
String |
getUrlName()
Get the URL name.
|
boolean |
shouldDisplayGraph()
Returns true if there are any builds in the associated project.
|
public AWSDeviceFarmProjectAction(hudson.model.AbstractProject<?,?> project)
project - The Project which this action will be applied to.public hudson.model.AbstractProject<?,?> getProject()
public boolean shouldDisplayGraph()
public AWSDeviceFarmTestResultAction getLastBuildAction()
public ArrayList<AWSDeviceFarmTestResultAction> getLastBuildActions()
public ArrayList<AWSDeviceFarmTestResultAction> getLastBuildActions(int n)
n - Number of previous builds to get.public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - The request object.response - The response object.IOExceptionpublic void doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - The request object.response - The response object.IOExceptionpublic 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-2015. All Rights Reserved.