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
AManagementLink
for the management of Support Core. This extension also manages the GUI for theGlobalConfiguration
under theSupportPluginConfigurationCategory
.- Author:
- Allan Burdajewicz
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SupportPluginManagement.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate<Descriptor>
CATEGORY_FILTER
-
Fields inherited from class hudson.model.ManagementLink
LIST
-
-
Constructor Summary
Constructors Constructor Description SupportPluginManagement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategory, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Field Detail
-
CATEGORY_FILTER
public static final Predicate<Descriptor> CATEGORY_FILTER
-
-
Method Detail
-
get
@NonNull public static SupportPluginManagement get()
Gets the singleton instance.- Returns:
- Singleton instance
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
getRequiredPermission
public Permission getRequiredPermission()
- Overrides:
getRequiredPermission
in classManagementLink
-
getCategoryName
@NonNull public String getCategoryName()
- Overrides:
getCategoryName
in classManagementLink
-
load
public void load()
-
save
public void save() throws IOException
- 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
@NonNull public Collection<Descriptor> getDescriptors()
-
getDescriptor
public Descriptor<SupportPluginManagement> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<SupportPluginManagement>
- See Also:
Describable.getDescriptor()
-
-