Class SmartLBManagementLink
java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.smartexecutorloadbalancer.SmartLBManagementLink
- All Implemented Interfaces:
ExtensionPoint, Action, ModelObject
Adds a "Smart Load Balancer" entry to Manage Jenkins for plugin configuration.
URL: /manage/smart-lb/
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classView model for one row in the node-health table.Nested classes/interfaces inherited from class ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class ManagementLink
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoConfigure(int failureThreshold, boolean skipFailingNodes, int loadWeight) org.kohsuke.stapler.HttpResponsedoResetNode(String nodeName, String label) org.kohsuke.stapler.HttpResponseUsed by index.jelly to render the full node-health table.Methods inherited from class ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
SmartLBManagementLink
public SmartLBManagementLink()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getDisplayName
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getCategory
- Overrides:
getCategoryin classManagementLink
-
getConfig
-
getAllNodes
Used by index.jelly to render the full node-health table. -
doConfigure
@POST public org.kohsuke.stapler.HttpResponse doConfigure(@QueryParameter int failureThreshold, @QueryParameter boolean skipFailingNodes, @QueryParameter int loadWeight) -
doResetNode
-
doResetStats
@POST public org.kohsuke.stapler.HttpResponse doResetStats()
-