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
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<LabelAtom>
detectRedundantLabels(Node node)
Get list of configured labels that are explicitly declared but can be inferred using current implicationsAutoCompletionCandidates
doAutoCompleteLabels(String value)
FormValidation
doCheckExpression(String expression)
void
doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
FormValidation
doInferLabels(String labelString)
Collection<LabelAtom>
evaluate(Node node)
ManagementLink.Category
getCategory()
String
getDescription()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
List<Implication>
implications()
-
Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Method Detail
-
getCategory
public ManagementLink.Category getCategory()
- Overrides:
getCategory
in classManagementLink
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
doConfigSubmit
@POST public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
implications
@NonNull public List<Implication> implications()
-
evaluate
@NonNull public Collection<LabelAtom> evaluate(@NonNull Node node)
-
detectRedundantLabels
@NonNull public Collection<LabelAtom> detectRedundantLabels(@NonNull Node node)
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)
-
-