@Extension(ordinal=2.147483437E9) public class GlobalSecurityConfiguration extends ManagementLink implements Describable<GlobalSecurityConfiguration>
Jenkins.| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalSecurityConfiguration.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<GlobalConfigurationCategory> |
FILTER |
LIST| Constructor and Description |
|---|
GlobalSecurityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
void |
doConfigure(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
String |
getDescription()
Returns a short description of what this link does.
|
Descriptor<GlobalSecurityConfiguration> |
getDescriptor()
Gets the descriptor for this instance.
|
String |
getDisplayName()
Gets the string to be displayed.
|
String |
getIconFileName()
Mostly works like
Action.getIconFileName(), except that
the expected icon size is 48x48, not 24x24. |
MarkupFormatter |
getMarkupFormatter() |
Permission |
getRequiredPermission() |
int |
getSlaveAgentPort() |
String |
getUrlName()
Gets the URL path name.
|
boolean |
isDisableRememberMe() |
all, getRequiresConfirmation, getRequiresPOSTpublic static com.google.common.base.Predicate<GlobalConfigurationCategory> FILTER
public MarkupFormatter getMarkupFormatter()
public int getSlaveAgentPort()
public boolean isDisableRememberMe()
public void doConfigure(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException,
Descriptor.FormException
IOExceptionjavax.servlet.ServletExceptionDescriptor.FormExceptionpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
Descriptor.FormExceptionpublic String getDisplayName()
ActiongetDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getDescription()
ManagementLinkgetDescription in class ManagementLinkpublic String getIconFileName()
ManagementLinkAction.getIconFileName(), except that
the expected icon size is 48x48, not 24x24. So if you give
just a file name, "/images/48x48" will be assumed.getIconFileName in interface ActiongetIconFileName in class ManagementLinkManagementLink that only shows up under
certain circumstances.Functions.isAnonymous(),
Functions.getIconFilePath(Action)public String getUrlName()
ManagementLinkFor example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz.
This method should return a string that's unique among other Actions.
The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems.
If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp.
In case of ManagementLink, this value is put straight into the href attribute,
so relative paths are interpreted against the root Jenkins object.
getUrlName in interface ActiongetUrlName in class ManagementLinkAction.getIconFileName().Functions.getActionUrl(String, Action)public Permission getRequiredPermission()
getRequiredPermission in class ManagementLinkJenkins.ADMINISTERpublic Descriptor<GlobalSecurityConfiguration> getDescriptor()
Describable
Descriptor is a singleton for every concrete Describable
implementation, so if a.getClass() == b.getClass() then by default
a.getDescriptor() == b.getDescriptor() as well.
(In rare cases a single implementation class may be used for instances with distinct descriptors.)
getDescriptor in interface Describable<GlobalSecurityConfiguration>Describable.getDescriptor()Copyright © 2019. All rights reserved.