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 boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
protected XmlFile
getConfigFile()
For backwards compatibility This preserves the original file location Additionally allows the old config syntax to be readString
getDisplayName()
String
getJiraBaseUrl()
List<String>
getJiraTickets()
Secret
getPassword()
String
getPattern()
Integer
getTimeout()
String
getUsername()
boolean
getVerboseLogging()
boolean
isJiraConfigComplete()
Object
readResolve()
void
setJiraBaseUrl(String jiraBaseUrl)
void
setPassword(Secret password)
void
setPattern(String pattern)
void
setTimeout(Integer timeoutInSeconds)
void
setUsername(String username)
void
setVerboseLogging(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:
getDisplayName
in 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:
configure
in 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:
getConfigFile
in classDescriptor<JobProperty<?>>
-
setTimeout
public void setTimeout(Integer timeoutInSeconds)
-
getTimeout
public Integer getTimeout()
-
isJiraConfigComplete
public boolean isJiraConfigComplete()
-
-