@Extension
public final class GlobalPluginConfiguration
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
GlobalPluginConfiguration()
Create GlobalPluginConfiguration from disk.
|
GlobalPluginConfiguration(boolean enable,
String disabledSpec)
Creates GlobalPluginConfiguration instance with specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckDisabledSpec(String value)
Performs syntax check.
|
hudson.util.FormValidation |
doCheckExcludedJobs(String value)
Check the regular expression entered by the user
|
hudson.util.FormValidation |
doCheckRemoveJobs(boolean value)
Check the Integer expression entered by the user
|
hudson.util.FormValidation |
doFilter(String value)
Check the Integer expression entered by the user
|
static GlobalPluginConfiguration |
get()
Gets this extension's instance.
|
String |
getDescription() |
String |
getDisabledSpec()
Gets the crontab specification.
|
String |
getDisplayName() |
String |
getExcludedJobs() |
String |
getFilter() |
boolean |
isEnable()
Gets whether this plugin is enabled or not.
|
boolean |
isRemoveJobs() |
void |
setDescription(String description) |
void |
setDisabledSpec(String disabledSpec) |
void |
setEnable(boolean enable)
Sets flag whether this plugin is enabled or not.
|
void |
setExcludedJobs(String excludedJobs) |
void |
setFilter(String filter) |
void |
setRemoveJobs(boolean removeJobs) |
String |
toString() |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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@DataBoundConstructor
public GlobalPluginConfiguration(boolean enable,
String disabledSpec)
enable - if this feature is enabled.disabledSpec - the crontab specificationpublic GlobalPluginConfiguration()
public String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic 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.FormExceptionpublic boolean isEnable()
public void setEnable(boolean enable)
enable - true if this plugin is enabled.public final String getDisabledSpec()
public void setDisabledSpec(String disabledSpec)
public String getExcludedJobs()
public void setExcludedJobs(String excludedJobs)
public String getFilter()
public void setFilter(String filter)
public String getDescription()
public void setDescription(String description)
public boolean isRemoveJobs()
public void setRemoveJobs(boolean removeJobs)
public static GlobalPluginConfiguration get()
public hudson.util.FormValidation doCheckDisabledSpec(@QueryParameter
String value)
public hudson.util.FormValidation doCheckExcludedJobs(@QueryParameter
String value)
public hudson.util.FormValidation doFilter(@QueryParameter
String value)
public hudson.util.FormValidation doCheckRemoveJobs(@QueryParameter
boolean value)
Copyright © 2004-2015. All Rights Reserved.