Class ConfigurationManagementLink
- java.lang.Object
-
- hudson.model.ManagementLink
-
- io.jenkins.plugins.globalyamlproperties.ConfigurationManagementLink
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
@Extension public class ConfigurationManagementLink extends ManagementLink
-
-
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 Modifier and Type Field Description static PermissionGroup
PERMISSIONS
static Permission
UPDATE_CONFIG
static Permission
VIEW_CONFIG
-
Fields inherited from class hudson.model.ManagementLink
LIST
-
-
Constructor Summary
Constructors Constructor Description ConfigurationManagementLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckName(String value)
FormValidation
doCheckYamlConfig(String value)
org.kohsuke.stapler.HttpResponse
doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
List<Descriptor<ConfigSource>>
getApplicableConfigSources()
ManagementLink.Category
getCategory()
GlobalYAMLPropertiesConfiguration
getConfiguration()
String
getDescription()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Field Detail
-
PERMISSIONS
public static final PermissionGroup PERMISSIONS
-
VIEW_CONFIG
public static final Permission VIEW_CONFIG
-
UPDATE_CONFIG
public static final Permission UPDATE_CONFIG
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getConfiguration
public GlobalYAMLPropertiesConfiguration getConfiguration()
-
doConfigure
@POST public org.kohsuke.stapler.HttpResponse doConfigure(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
doCheckName
@POST public FormValidation doCheckName(@QueryParameter String value)
-
getApplicableConfigSources
public List<Descriptor<ConfigSource>> getApplicableConfigSources()
-
doCheckYamlConfig
@POST public FormValidation doCheckYamlConfig(@QueryParameter String value)
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
getCategory
@NonNull public ManagementLink.Category getCategory()
- Overrides:
getCategory
in classManagementLink
-
-