@Extension
public static final class SMSNotification.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
SMSNotification
. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/hudson/plugin/hello_world/SMSNotification/*.jelly for the actual HTML fragment for the configuration screen.
Constructor and Description |
---|
SMSNotification.DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doNumberCheck(String param) |
String |
getAccessToken() |
String |
getAppId() |
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
void |
setAccessToken(String accessToken) |
void |
setAppId(String appId) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
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.Publisher>
hudson.model.Descriptor.FormException
public String getAppId()
public void setAppId(String appId)
public String getAccessToken()
public void setAccessToken(String accessToken)
public hudson.util.FormValidation doNumberCheck(@QueryParameter String param) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2004-2013. All Rights Reserved.