Uses of Class
org.jenkinsci.plugins.vsphere.tools.HostLimits
Packages that use HostLimits
-
Uses of HostLimits in org.jenkinsci.plugins
Methods in org.jenkinsci.plugins that return HostLimitsModifier and TypeMethodDescriptionvSphereCloud.hostLimits()The four limits as one value;NONEif none is set.Methods in org.jenkinsci.plugins with parameters of type HostLimitsModifier and TypeMethodDescriptionstatic HostSelectionOptionsvSphereCloud.hostSelectionOptions(vSphereCloud cloud, Boolean requireCores, Boolean requireMemory, Boolean requireAvailableMemory, HostWeights weightsOverride, Long waitSecondsOverride, HostLimits limitsOverride) As above, also with the free resource limits a call site set for itself: iflimitsOverrideis not null it replaces the cloud's limits as a whole, else the cloud's apply.static HostSelectionOptionsvSphereCloud.hostSelectionOptions(vSphereCloud cloud, Boolean requireCores, Boolean requireMemory, Boolean requireAvailableMemory, HostWeights weightsOverride, Long waitSecondsOverride, HostLimits limitsOverride, Boolean folderFollowsHostOverride) As above, also with whether the call site wants the clone's default folder to follow the host chosen for it: iffolderFollowsHostOverrideis not null it replaces the cloud's setting. -
Uses of HostLimits in org.jenkinsci.plugins.vsphere.tools
Fields in org.jenkinsci.plugins.vsphere.tools declared as HostLimitsMethods in org.jenkinsci.plugins.vsphere.tools that return HostLimitsModifier and TypeMethodDescriptionHostSelectionOptions.getLimits()Minimal free resources of a candidate host;NONEfor no limits.static HostLimitsHostLimits.parseOverride(String minFreeCpuMhz, String minFreeCpuPercent, String minFreeMemoryMB, String minFreeMemoryPercent) Builds the limits a single call (build step or template) sets for itself from the text of its four settings, already variable-expanded.Methods in org.jenkinsci.plugins.vsphere.tools with parameters of type HostLimitsModifier and TypeMethodDescriptionVSphereHostSelection.filterByLimits(List<VSphereHostSelection.HostCandidate> candidates, HostLimits limits) Keeps only the candidates that satisfy all of the (possibly null) limits.static StringVSphereHostSelection.limitShortfall(VSphereHostSelection.HostCandidate candidate, HostLimits limits) WhyHostLimitsrule this host out, or null if it is within them (or there are none).HostSelectionOptions.withLimits(HostLimits limits) Same options, keeping hosts with less free resources than these limits off the candidate list.