@Extension
public class ClaimConfig
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
ClaimConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static ClaimConfig |
get()
get the current claim configuration
|
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
boolean |
getSendEmails()
This method returns true if the global configuration says we should send mails on build claims
|
void |
setSendEmails(boolean val)
Set whether we should send emails
|
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, 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, toMappublic String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic boolean getSendEmails()
public void setSendEmails(boolean val)
val - the setting to usepublic static ClaimConfig get()
Copyright © 2004-2014. All Rights Reserved.