@Extension
public static final class AWSDeviceFarmRecorder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Bind descriptor object to capture global plugin settings from 'Manage Jenkins'.
|
hudson.util.FormValidation |
doCheckAkid(String akid)
Validate the user account AKID.
|
hudson.util.FormValidation |
doCheckAppArtifact(String appArtifact)
Validate the user entered artifact for the application.
|
hudson.util.FormValidation |
doCheckAppiumJavaJUnitTest(String appiumJavaJUnitTest)
Validate the user entered artifact for Appium Java jUnit test content.
|
hudson.util.FormValidation |
doCheckAppiumJavaTestNGTest(String appiumJavaTestNGTest)
Validate the user entered artifact for Appium Java TestNG test content.
|
hudson.util.FormValidation |
doCheckCalabashFeatures(String calabashFeatures)
Validate the user entered file path to local Calabash features.
|
hudson.util.FormValidation |
doCheckDevicePoolName(String devicePoolName)
Validate the user selected device pool.
|
hudson.util.FormValidation |
doCheckIsRunUnmetered(Boolean isRunUnmetered,
String appArtifact)
Validate if user account has unmetered devices
|
hudson.util.FormValidation |
doCheckJunitArtifact(String junitArtifact)
Validate the user entered artifact for JUnit/Robotium test content.
|
hudson.util.FormValidation |
doCheckProjectName(String projectName)
Validate the user selected project.
|
hudson.util.FormValidation |
doCheckRoleArn(String roleArn)
Validate the user account role ARN.
|
hudson.util.FormValidation |
doCheckSkid(String skid)
Validate the user account SKID.
|
hudson.util.FormValidation |
doCheckUiautomatorArtifact(String uiautomatorArtifact)
Validate the user entered artifact for uiautomator.
|
hudson.util.ListBoxModel |
doFillDevicePoolNameItems(String projectName,
String currentDevicePoolName)
Populate the device pool drop-down from AWS Device Farm API or local cache.
|
hudson.util.ListBoxModel |
doFillProjectNameItems(String currentProjectName)
Populate the project drop-down from the AWS Device Farm API or local cache.
|
hudson.util.FormValidation |
doRefresh()
Refresh button clicked, clear the project and device pool caches
so the next click on the drop-down will get fresh content from the API.
|
AWSDeviceFarm |
getAWSDeviceFarm()
Return configured instance of the AWS Device Farm client.
|
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic AWSDeviceFarm getAWSDeviceFarm()
public hudson.util.FormValidation doCheckRoleArn(@QueryParameter
String roleArn)
roleArn - The AWS IAM role ARN.public hudson.util.FormValidation doCheckAkid(@QueryParameter
String akid)
akid - The AWS access key ID.public hudson.util.FormValidation doCheckSkid(@QueryParameter
String skid)
skid - The AWS secret key ID.public hudson.util.FormValidation doCheckProjectName(@QueryParameter
String projectName)
projectName - The currently selected project name.public hudson.util.FormValidation doCheckDevicePoolName(@QueryParameter
String devicePoolName)
devicePoolName - The currently selected device pool name.public hudson.util.FormValidation doCheckAppArtifact(@QueryParameter
String appArtifact)
appArtifact - The String of the application artifact.public hudson.util.FormValidation doCheckAppiumJavaJUnitTest(@QueryParameter
String appiumJavaJUnitTest)
appiumJavaJUnitTest - The path to the test file.public hudson.util.FormValidation doCheckAppiumJavaTestNGTest(@QueryParameter
String appiumJavaTestNGTest)
appiumJavaTestNGTest - The path to the test file.public hudson.util.FormValidation doCheckCalabashFeatures(@QueryParameter
String calabashFeatures)
calabashFeatures - The String of the Calabash features.public hudson.util.FormValidation doCheckJunitArtifact(@QueryParameter
String junitArtifact)
junitArtifact - The String of the jUnit artifact.public hudson.util.FormValidation doCheckUiautomatorArtifact(@QueryParameter
String uiautomatorArtifact)
uiautomatorArtifact - The String of the MonkeyTalk artifact.public hudson.util.FormValidation doCheckIsRunUnmetered(@QueryParameter
Boolean isRunUnmetered,
@QueryParameter
String appArtifact)
isRunUnmetered - appArtifact - public hudson.util.FormValidation doRefresh()
public hudson.util.ListBoxModel doFillProjectNameItems(@QueryParameter
String currentProjectName)
public hudson.util.ListBoxModel doFillDevicePoolNameItems(@QueryParameter
String projectName,
@QueryParameter
String currentDevicePoolName)
projectName - Name of the project selected.currentDevicePoolName - Name of the device pool selected.public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>req - The StaplerRequest.json - The JSON to bind this to.public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>Copyright © 2004-2015. All Rights Reserved.