Uses of Class
org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct
Package
Description
-
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources
Modifier and TypeMethodDescriptionLockableResourcesManager.queue
(LockableResourcesStruct requiredResources, long queueItemId, String queueItemProject, int number, Map<String, Object> params, Logger log) Deprecated.LockableResourcesManager.tryQueue
(LockableResourcesStruct requiredResources, long queueItemId, String queueItemProject, int number, Map<String, Object> params, Logger log) Try to acquire the resources required by the task.Modifier and TypeMethodDescriptionLockableResourcesManager.getAvailableResources
(List<LockableResourcesStruct> requiredResourcesList) LockableResourcesManager.getAvailableResources
(List<LockableResourcesStruct> requiredResourcesList, PrintStream logger, ResourceSelectStrategy selectStrategy) Checks if there are enough resources available to satisfy the requirements specified within requiredResources and returns the necessary available resources.void
LockableResourcesManager.queueContext
(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> requiredResources, String resourceDescription, String variableName, boolean inversePrecedence, int priority) -
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources.actions
Modifier and TypeMethodDescriptionvoid
LockableResourcesRootAction.Queue.add
(LockableResourcesStruct resourceStruct, QueuedContextStruct context) ModifierConstructorDescriptionQueueStruct
(LockableResourcesStruct resourceStruct, QueuedContextStruct context) -
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources.queue
Modifier and TypeMethodDescriptionstatic LockableResourcesStruct
Utils.requiredResources
(Job<?, ?> project) ModifierConstructorDescriptionBecauseResourcesQueueFailed
(LockableResourcesStruct resources, Throwable cause) ModifierConstructorDescriptionQueuedContextStruct
(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority)
LockableResourcesManager.tryQueue(org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct, long, java.lang.String, int, java.util.Map, java.util.logging.Logger)