Package org.jenkinsci.plugins.jiraext
Class JiraExtConfig.PluginDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<JobProperty<?>>
-
- hudson.model.JobPropertyDescriptor
-
- org.jenkinsci.plugins.jiraext.JiraExtConfig.PluginDescriptor
-
- All Implemented Interfaces:
Saveable,Serializable,OnMaster
- Enclosing class:
- JiraExtConfig
@Extension public static final class JiraExtConfig.PluginDescriptor extends JobPropertyDescriptor implements Serializable
- See Also:
- Serialized Form
-
-
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 PluginDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)protected XmlFilegetConfigFile()For backwards compatibility This preserves the original file location Additionally allows the old config syntax to be readStringgetDisplayName()StringgetJiraBaseUrl()List<String>getJiraTickets()SecretgetPassword()StringgetPattern()IntegergetTimeout()StringgetUsername()booleangetVerboseLogging()booleanisJiraConfigComplete()ObjectreadResolve()voidsetJiraBaseUrl(String jiraBaseUrl)voidsetPassword(Secret password)voidsetPattern(String pattern)voidsetTimeout(Integer timeoutInSeconds)voidsetUsername(String username)voidsetVerboseLogging(boolean verboseLogging)-
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable, newInstance
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, 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
-
readResolve
public Object readResolve()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<JobProperty<?>>
-
getJiraBaseUrl
public String getJiraBaseUrl()
-
setJiraBaseUrl
public void setJiraBaseUrl(String jiraBaseUrl)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public Secret getPassword()
-
setPassword
public void setPassword(Secret password)
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
setVerboseLogging
public void setVerboseLogging(boolean verboseLogging)
-
getVerboseLogging
public boolean getVerboseLogging()
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configurein classDescriptor<JobProperty<?>>- Throws:
Descriptor.FormException
-
getConfigFile
protected XmlFile getConfigFile()
For backwards compatibility This preserves the original file location Additionally allows the old config syntax to be read- Overrides:
getConfigFilein classDescriptor<JobProperty<?>>
-
setTimeout
public void setTimeout(Integer timeoutInSeconds)
-
getTimeout
public Integer getTimeout()
-
isJiraConfigComplete
public boolean isJiraConfigComplete()
-
-