@Extension
public class SnowGlobePluginConfiguration
extends jenkins.model.GlobalConfiguration
Modifier and Type | Field and Description |
---|---|
String |
maximumAge |
Integer |
maximumCount |
String |
maximumEmptyAge |
Constructor and Description |
---|
SnowGlobePluginConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static SnowGlobePluginConfiguration |
get()
Returns this singleton instance.
|
int |
getMaxCount() |
String |
getMaximumAge() |
long |
getMaximumAgeMs() |
Integer |
getMaximumCount() |
String |
getMaximumEmptyAge() |
long |
getMaximumEmptyAgeMs() |
String |
getServerUrl() |
static Long |
parseDuration(String maximumAge) |
void |
setMaximumAge(String maximumAge) |
void |
setMaximumCount(Integer maximumCount) |
void |
setMaximumEmptyAge(String maximumEmptyAge) |
void |
setServerUrl(String serverUrl) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
public String maximumAge
public String maximumEmptyAge
public Integer maximumCount
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class jenkins.model.GlobalConfiguration
hudson.model.Descriptor.FormException
public static SnowGlobePluginConfiguration get()
public String getServerUrl()
public void setServerUrl(String serverUrl)
public String getMaximumAge()
public void setMaximumAge(String maximumAge)
public int getMaxCount()
public String getMaximumEmptyAge()
public void setMaximumEmptyAge(String maximumEmptyAge)
public long getMaximumAgeMs()
public long getMaximumEmptyAgeMs()
public Integer getMaximumCount()
public void setMaximumCount(Integer maximumCount)
Copyright © 2016–2018. All rights reserved.