@Extension
public static final class PerfectoMobileBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
PerfectoMobileBuilder. Used as a singleton. The
class is marked as public so that it can be accessed from views.
See src/main/resources/com/perfectomobile/perfectomobilejenkins/PerfectoMobileBuilder/*.jelly for the actual HTML fragment for the configuration screen.
| Constructor and Description |
|---|
PerfectoMobileBuilder.DescriptorImpl()
In order to load the persisted global configuration, you have to call
load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteAutoScript(String value) |
hudson.util.FormValidation |
doCheckName(String value)
Performs on-the-fly validation of the form field 'name'.
|
hudson.util.ListBoxModel |
doFillDeviceIdItems() |
hudson.util.ListBoxModel |
doFillPerfectoCloudItems()
Get clouds names.
|
void |
doGetParameters(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
This method is called when the user press on "Parameter list" button.
|
hudson.util.FormValidation |
doTestConnection(String url,
String accessId,
String secretKey) |
String |
getAccessId() |
String |
getDisplayName()
This human readable name is used in the configuration screen.getName
|
String |
getLogicalName()
The method name is bit awkward because global.jelly calls this method
to determine the initial state of the control by the naming
convention.
|
String |
getParameters(String autoScript) |
int |
getRandomID() |
String |
getSecretKey() |
String |
getUrl() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
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 PerfectoMobileBuilder.DescriptorImpl()
public hudson.util.FormValidation doCheckName(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.ListBoxModel doFillPerfectoCloudItems()
public hudson.util.ListBoxModel doFillDeviceIdItems()
public hudson.model.AutoCompletionCandidates doAutoCompleteAutoScript(@QueryParameter
String value)
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Builder>hudson.model.Descriptor.FormExceptionpublic String getLogicalName()
public String getUrl()
public String getAccessId()
public String getSecretKey()
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="url")
String url,
@QueryParameter(value="accessId")
String accessId,
@QueryParameter(value="secretKey")
String secretKey)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void doGetParameters(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
IOException
req - rsp - javax.servlet.ServletExceptionIOExceptionpublic int getRandomID()
Copyright © 2004-2014. All Rights Reserved.