Class Config
java.lang.Object
hudson.model.ManagementLink
org.jenkinsci.plugins.impliedlabels.Config
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class Config
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 inherited from class hudson.model.ManagementLink
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondetectRedundantLabels
(Node node) Get list of configured labels that are explicitly declared but can be inferred using current implicationsdoAutoCompleteLabels
(String value) doCheckExpression
(String expression) void
doConfigSubmit
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) doInferLabels
(String labelString) Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getCategory
- Overrides:
getCategory
in classManagementLink
-
getDisplayName
-
getDescription
- Overrides:
getDescription
in classManagementLink
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
doConfigSubmit
@POST public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
implications
-
evaluate
-
detectRedundantLabels
Get list of configured labels that are explicitly declared but can be inferred using current implications -
doCheckExpression
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckExpression(@QueryParameter String expression) -
doInferLabels
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doInferLabels(@QueryParameter String labelString) -
doAutoCompleteLabels
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AutoCompletionCandidates doAutoCompleteLabels(@QueryParameter String value)
-