@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Symbol(value="supportCore") public class SupportPluginManagement extends ManagementLink implements Describable<SupportPluginManagement>, Saveable
ManagementLink
for the management of Support Core. This extension also manages the GUI for the
GlobalConfiguration
under the SupportPluginConfigurationCategory
.Modifier and Type | Class and Description |
---|---|
static class |
SupportPluginManagement.DescriptorImpl |
ManagementLink.Category
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static Predicate<Descriptor> |
CATEGORY_FILTER |
LIST
Constructor and Description |
---|
SupportPluginManagement() |
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) |
static SupportPluginManagement |
get()
Gets the singleton instance.
|
String |
getCategoryName() |
String |
getDescription() |
Descriptor<SupportPluginManagement> |
getDescriptor() |
Collection<Descriptor> |
getDescriptors() |
String |
getDisplayName() |
String |
getIconFileName() |
Permission |
getRequiredPermission() |
String |
getUrlName() |
void |
load() |
void |
save() |
all, getCategory, getRequiresConfirmation, getRequiresPOST
public static final Predicate<Descriptor> CATEGORY_FILTER
@NonNull public static SupportPluginManagement get()
@CheckForNull public String getIconFileName()
getIconFileName
in interface Action
getIconFileName
in class ManagementLink
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
getUrlName
in class ManagementLink
public String getDescription()
getDescription
in class ManagementLink
public Permission getRequiredPermission()
getRequiredPermission
in class ManagementLink
@NonNull public String getCategoryName()
getCategoryName
in class ManagementLink
public void load()
public void save() throws IOException
save
in interface Saveable
IOException
@POST public void doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, Descriptor.FormException
IOException
javax.servlet.ServletException
Descriptor.FormException
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
Descriptor.FormException
@NonNull public Collection<Descriptor> getDescriptors()
public Descriptor<SupportPluginManagement> getDescriptor()
getDescriptor
in interface Describable<SupportPluginManagement>
Describable.getDescriptor()
Copyright © 2016–2022. All rights reserved.