Class SupportPluginManagement
java.lang.Object
hudson.model.ManagementLink
com.cloudbees.jenkins.support.config.SupportPluginManagement
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<SupportPluginManagement>
,ModelObject
,Saveable
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Symbol("supportCore")
public class SupportPluginManagement
extends ManagementLink
implements Describable<SupportPluginManagement>, Saveable
A
ManagementLink
for the management of Support Core. This extension also manages the GUI for the
GlobalConfiguration
under the SupportPluginConfigurationCategory
.- Author:
- Allan Burdajewicz
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.void
load()
void
save()
Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategory, getRequiresConfirmation, getRequiresPOST
-
Field Details
-
CATEGORY_FILTER
-
-
Constructor Details
-
SupportPluginManagement
public SupportPluginManagement()
-
-
Method Details
-
get
Gets the singleton instance.- Returns:
- Singleton instance
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
- Overrides:
getDescription
in classManagementLink
-
getRequiredPermission
- Overrides:
getRequiredPermission
in classManagementLink
-
getCategoryName
- Overrides:
getCategoryName
in classManagementLink
-
load
public void load() -
save
- Specified by:
save
in interfaceSaveable
- Throws:
IOException
-
doConfigure
@POST public void doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, Descriptor.FormException - Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Throws:
Descriptor.FormException
-
getDescriptors
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<SupportPluginManagement>
- See Also:
-