Package hudson.plugins.collabnet.share
Class TeamForgeShare.TeamForgeShareDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<JobProperty<?>>
-
- hudson.model.JobPropertyDescriptor
-
- hudson.plugins.collabnet.share.TeamForgeShare.TeamForgeShareDescriptor
-
- Enclosing class:
- TeamForgeShare
@Extension public static final class TeamForgeShare.TeamForgeShareDescriptor extends JobPropertyDescriptor
Singleton object that stores global configuration related to TeamForge.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description TeamForgeShareDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json)
String
getCollabNetUrl()
ConnectionFactory
getConnectionFactory()
String
getDisplayName()
String
getPassword()
String
getUsername()
boolean
isApplicable(Class<? extends Job> jobType)
This should never show up in any jobs since it's only for global configuration.void
setConnectionFactory(ConnectionFactory cf)
boolean
useGlobal()
-
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
This should never show up in any jobs since it's only for global configuration.- Overrides:
isApplicable
in classJobPropertyDescriptor
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<JobProperty<?>>
- Throws:
Descriptor.FormException
-
setConnectionFactory
public void setConnectionFactory(ConnectionFactory cf)
-
useGlobal
public boolean useGlobal()
-
getCollabNetUrl
public String getCollabNetUrl()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getConnectionFactory
public ConnectionFactory getConnectionFactory()
-
-