Uses of Class
org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct
Packages that use LockableResourcesStruct
Package
Description
-
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources
Methods in org.jenkins.plugins.lockableresources with parameters of type LockableResourcesStructModifier 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.Method parameters in org.jenkins.plugins.lockableresources with type arguments of type LockableResourcesStructModifier 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.LockableResourcesManager.getAvailableResources(List<LockableResourcesStruct> requiredResourcesList, PrintStream logger, ResourceSelectStrategy selectStrategy, Predicate<LockableResource> candidateFilter) AsLockableResourcesManager.getAvailableResources(List, PrintStream, ResourceSelectStrategy)but restricts the candidate pool to resources accepted bycandidateFilter.voidLockableResourcesManager.queueContext(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> requiredResources, String resourceDescription, String variableName, boolean inversePrecedence, int priority) voidLockableResourcesManager.queueContext(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> requiredResources, String resourceDescription, String variableName, boolean inversePrecedence, int priority, String reason, long timeoutForAllocateResource, String timeoutUnit) -
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources.actions
Methods in org.jenkins.plugins.lockableresources.actions that return LockableResourcesStructMethods in org.jenkins.plugins.lockableresources.actions with parameters of type LockableResourcesStructModifier and TypeMethodDescriptionvoidLockableResourcesRootAction.Queue.add(LockableResourcesStruct resourceStruct, QueuedContextStruct context) Constructors in org.jenkins.plugins.lockableresources.actions with parameters of type LockableResourcesStructModifierConstructorDescriptionQueueStruct(LockableResourcesStruct resourceStruct, QueuedContextStruct context) -
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources.queue
Methods in org.jenkins.plugins.lockableresources.queue that return LockableResourcesStructModifier and TypeMethodDescriptionstatic LockableResourcesStructUtils.requiredResources(Job<?, ?> project) Deprecated.static LockableResourcesStructUtils.requiredResources(Job<?, ?> project, EnvVars additionalEnv) Build the required-resources structure for a project, merging any additional environment variables (e.g. build parameters) into the expansion context.Methods in org.jenkins.plugins.lockableresources.queue that return types with arguments of type LockableResourcesStructConstructors in org.jenkins.plugins.lockableresources.queue with parameters of type LockableResourcesStructModifierConstructorDescriptionBecauseResourcesQueueFailed(LockableResourcesStruct resources, Throwable cause) Constructor parameters in org.jenkins.plugins.lockableresources.queue with type arguments of type LockableResourcesStructModifierConstructorDescriptionQueuedContextStruct(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority) QueuedContextStruct(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority, String reason, long timeoutForAllocateResource, String timeoutUnit) -
Uses of LockableResourcesStruct in org.jenkins.plugins.lockableresources.remote
Methods in org.jenkins.plugins.lockableresources.remote that return types with arguments of type LockableResourcesStructModifier and TypeMethodDescriptionRemoteQueueEntry.getStructs()RemoteResolver.toRemoteStructs(RemoteLockRequest req) Builds the canonicalLockableResourcesStructlist for a remote request, mirroringLockStep.getResources()(main selector + eachextraentry).Method parameters in org.jenkins.plugins.lockableresources.remote with type arguments of type LockableResourcesStructModifier and TypeMethodDescriptionRemoteResolver.availableForRemote(List<LockableResourcesStruct> structs, RemoteLockRequest req) Resolves a remote request (given its canonicalstructs, fromRemoteResolver.toRemoteStructs(org.jenkins.plugins.lockableresources.remote.RemoteLockRequest)) through the canonicalLockableResourcesManager.getAvailableResources(java.util.List<org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct>)path, applying the configuredexposeLabelset as the candidate-visibility filter (a resource is visible iff it carries any exposeLabel - OR).Constructor parameters in org.jenkins.plugins.lockableresources.remote with type arguments of type LockableResourcesStructModifierConstructorDescriptionRemoteQueueEntry(RemoteLockRecord record, List<LockableResourcesStruct> structs, int priority, long timeoutForAllocateResource, String timeoutUnit)
LockableResourcesManager.tryQueue(org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct, long, java.lang.String, int, java.util.Map, java.util.logging.Logger)