@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.
|
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript |
getGroovyTrigger() |
boolean |
getSendEmails()
This method returns true if the global configuration says we should send mails on build claims
|
boolean |
hasGroovyTrigger() |
boolean |
isSortUsersByFullName()
Returns true if the users should be sorted by full name instead of ids.
|
boolean |
isStickyByDefault()
Returns true if the claims should be sticky by default, false otherwise.
|
void |
setSendEmails(boolean val)
Set whether we should send emails
|
void |
setSortUsersByFullName(boolean sortUsersByFullName)
Sets the user sort method.
|
void |
setStickyByDefault(boolean stickyByDefault)
Sets the default stickiness behaviour for build claims.
|
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, 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@Nonnull public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>public 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 boolean isStickyByDefault()
public void setStickyByDefault(boolean stickyByDefault)
stickyByDefault - the default stickiness value.public boolean isSortUsersByFullName()
public void setSortUsersByFullName(boolean sortUsersByFullName)
sortUsersByFullName - true to make users sorted by full name, else false.@Nonnull public org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript getGroovyTrigger()
public boolean hasGroovyTrigger()
public static ClaimConfig get()
Copyright © 2016–2017. All rights reserved.