org.jenkins.plugins.cloudbees
Class CloudbeesPublisher.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
org.jenkins.plugins.cloudbees.CloudbeesPublisher.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- CloudbeesPublisher
public static final class CloudbeesPublisher.DescriptorImpl
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
disableAccountSetup
public boolean disableAccountSetup
CLOUDBEES_API_URL
public static String CLOUDBEES_API_URL
CloudbeesPublisher.DescriptorImpl
public CloudbeesPublisher.DescriptorImpl()
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
newInstance
public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
doNameCheck
public hudson.util.FormValidation doNameCheck(@QueryParameter
String name)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doApiKeyCheck
public hudson.util.FormValidation doApiKeyCheck(@QueryParameter
String apiKey)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doSecretKeyCheck
public hudson.util.FormValidation doSecretKeyCheck(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
setAccounts
public void setAccounts(CloudbeesAccount cloudbeesAccount)
getAccounts
public CloudbeesAccount[] getAccounts()
isDisableAccountSetup
public boolean isDisableAccountSetup()
isApplicable
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
doApplicationIdCheck
public hudson.util.FormValidation doApplicationIdCheck(@QueryParameter
String applicationId,
@QueryParameter
String cloudbeesAccountName)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doAutoCompleteApplications
public hudson.model.AutoCompletionCandidates doAutoCompleteApplications(org.kohsuke.stapler.StaplerRequest staplerRequest)
throws Exception
- Throws:
Exception
getCloudbeesAccount
public static CloudbeesAccount getCloudbeesAccount(String cloudbeesAccountName)
Copyright © 2004-2011. All Rights Reserved.