org.jenkinsci.plugins
Class KmapJenkinsBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
org.jenkinsci.plugins.KmapJenkinsBuilder.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- KmapJenkinsBuilder
@Extension
public static final class KmapJenkinsBuilder.DescriptorImpl
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Descriptor for KmapJenkinsBuilder. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/hudson/plugins/hello_world/KmapJenkinsBuilder/*.jelly
for the actual HTML fragment for the configuration screen.
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Method Summary |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
|
hudson.util.FormValidation |
doCheckAppName(String value)
|
hudson.util.FormValidation |
doCheckBundle(String value)
|
hudson.util.FormValidation |
doCheckCategories(String value)
|
hudson.util.FormValidation |
doCheckFilePath(String value)
|
hudson.util.FormValidation |
doCheckKmapClient(String value)
|
hudson.util.FormValidation |
doCheckPassword(String value)
|
hudson.util.FormValidation |
doCheckUsername(String value)
|
hudson.util.FormValidation |
doCheckVersion(String value)
|
hudson.util.FormValidation |
doTestConnection(String user,
String pass,
String url,
String cats,
String appN,
String teamList,
String userList,
boolean publish)
|
hudson.util.FormValidation |
doTestConnectionGlobal(String user,
String pass,
String url)
|
String |
getDisplayName()
This human readable name is used in the configuration screen. |
String |
getFilePath()
|
String |
getKmapClient()
|
String |
getPassword()
|
String |
getUsername()
|
String |
getVersion()
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
|
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, 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, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KmapJenkinsBuilder.DescriptorImpl
public KmapJenkinsBuilder.DescriptorImpl()
doCheckUsername
public hudson.util.FormValidation doCheckUsername(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckPassword
public hudson.util.FormValidation doCheckPassword(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckKmapClient
public hudson.util.FormValidation doCheckKmapClient(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckCategories
public hudson.util.FormValidation doCheckCategories(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckBundle
public hudson.util.FormValidation doCheckBundle(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckFilePath
public hudson.util.FormValidation doCheckFilePath(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckAppName
public hudson.util.FormValidation doCheckAppName(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doCheckVersion
public hudson.util.FormValidation doCheckVersion(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestConnection
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="username")
String user,
@QueryParameter(value="password")
String pass,
@QueryParameter(value="kmapClient")
String url,
@QueryParameter(value="categories")
String cats,
@QueryParameter(value="appName")
String appN,
@QueryParameter(value="teams")
String teamList,
@QueryParameter(value="users")
String userList,
@QueryParameter(value="publishOptional")
boolean publish)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
doTestConnectionGlobal
public hudson.util.FormValidation doTestConnectionGlobal(@QueryParameter(value="username")
String user,
@QueryParameter(value="password")
String pass,
@QueryParameter(value="kmapClient")
String url)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
isApplicable
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
getDisplayName
public String getDisplayName()
- This human readable name is used in the configuration screen.
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Builder>
- Throws:
hudson.model.Descriptor.FormException
getUsername
public String getUsername()
getPassword
public String getPassword()
getKmapClient
public String getKmapClient()
getVersion
public String getVersion()
getFilePath
public String getFilePath()
Copyright © 2004-2014. All Rights Reserved.