|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Descriptor<jenkins.model.GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.jobmail.configuration.JobMailGlobalConfiguration
@Extension public class JobMailGlobalConfiguration
Configuration class for the jobmail plugin. Here are stored all templates and the signature. Everything is global, there is no local configuration for this plugin.
Nested Class Summary | |
---|---|
static class |
JobMailGlobalConfiguration.Template
Class for handling regular expressions. |
Nested classes/interfaces inherited from class hudson.model.Descriptor |
---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary |
---|
Fields inherited from class hudson.model.Descriptor |
---|
clazz |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
JobMailGlobalConfiguration()
Constructor. |
|
JobMailGlobalConfiguration(String signature,
List<JobMailGlobalConfiguration.Template> templates)
Constructor. |
Method Summary | |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
|
static JobMailGlobalConfiguration |
get()
Finds and returns the configuration class. |
String |
getSignature()
Returns the signature. |
List<JobMailGlobalConfiguration.Template> |
getTemplates()
Returns all templates. |
Methods inherited from class jenkins.model.GlobalConfiguration |
---|
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPage |
Methods inherited from class hudson.model.Descriptor |
---|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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 |
Constructor Detail |
---|
public JobMailGlobalConfiguration()
@DataBoundConstructor public JobMailGlobalConfiguration(String signature, List<JobMailGlobalConfiguration.Template> templates)
signature
- the signature value from the config page.templates
- the lsit of templates from the config page.Method Detail |
---|
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
hudson.model.Descriptor.FormException
public String getSignature()
public List<JobMailGlobalConfiguration.Template> getTemplates()
public static JobMailGlobalConfiguration get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |