hudson.plugins.collabnet.share
Class TeamForgeShare.TeamForgeShareDescriptor
java.lang.Object
hudson.model.Descriptor<hudson.model.JobProperty<?>>
hudson.model.JobPropertyDescriptor
hudson.plugins.collabnet.share.TeamForgeShare.TeamForgeShareDescriptor
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- TeamForgeShare
@Extension
public static final class TeamForgeShare.TeamForgeShareDescriptor
- extends hudson.model.JobPropertyDescriptor
| 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 |
|
Method Summary |
boolean |
configure(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject json)
|
void |
doCollabNetUrlCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Form validation for the CollabNet URL. |
void |
doPasswordCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Check that a password is present and allows login. |
void |
doRequiredCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Form validation for username. |
java.lang.String |
getCollabNetUrl()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getPassword()
|
java.lang.String |
getUsername()
|
boolean |
isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
This should never show up in any jobs since it's only for
global configuration. |
boolean |
useGlobal()
|
| Methods inherited from class hudson.model.JobPropertyDescriptor |
all, getPropertyDescriptors, newInstance |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamForgeShare.TeamForgeShareDescriptor
public TeamForgeShare.TeamForgeShareDescriptor()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
isApplicable
public boolean isApplicable(java.lang.Class<? extends hudson.model.Job> jobType)
- This should never show up in any jobs since it's only for
global configuration.
- Overrides:
isApplicable in class hudson.model.JobPropertyDescriptor
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.model.JobProperty<?>>
- Throws:
hudson.model.Descriptor.FormException
useGlobal
public boolean useGlobal()
getCollabNetUrl
public java.lang.String getCollabNetUrl()
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
doCollabNetUrlCheck
public void doCollabNetUrlCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Form validation for the CollabNet URL.
- Parameters:
req - StaplerRequest which contains parameters from
the config.jelly.rsp - contains http response data.
- Throws:
java.io.IOException
javax.servlet.ServletException
doRequiredCheck
public void doRequiredCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Form validation for username.
- Parameters:
req - StaplerRequest which contains parameters from
the config.jelly.rsp - contains http response data.
- Throws:
java.io.IOException
javax.servlet.ServletException
doPasswordCheck
public void doPasswordCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Check that a password is present and allows login.
- Parameters:
req - StaplerRequest which contains parameters from
the config.jelly.rsp - contains http response data.
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2009. All Rights Reserved.