Plugin.DummyImpl| Constructor and Description |
|---|
PluginImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jsonObject) |
protected XmlFile |
getConfigXml() |
String |
getSystemLocale() |
boolean |
isIgnoreAcceptLanguage() |
protected void |
load() |
static Locale |
parse(String s)
Parses a string like "ja_JP" into a
Locale object. |
void |
setIgnoreAcceptLanguage(boolean ignoreAcceptLanguage)
Sets whether the plugin should take user preferences into account.
|
void |
setSystemLocale(String systemLocale) |
void |
start() |
configure, doDynamic, getWrapper, postInitialize, save, setServletContext, stopprotected void load()
throws IOException
load in class PluginIOExceptionprotected XmlFile getConfigXml()
getConfigXml in class Pluginpublic void configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jsonObject)
throws IOException,
javax.servlet.ServletException,
Descriptor.FormException
configure in class PluginIOExceptionjavax.servlet.ServletExceptionDescriptor.FormExceptionpublic boolean isIgnoreAcceptLanguage()
public String getSystemLocale()
public void setSystemLocale(String systemLocale) throws IOException
IOExceptionpublic void setIgnoreAcceptLanguage(boolean ignoreAcceptLanguage)
ignoreAcceptLanguage - If true,
Ignore browser preference and force this language to all usersCopyright © 2016–2018. All rights reserved.