src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
public synchronized void queueContext(StepContext context, List<LockableResourcesStruct> requiredResources, String resourceDescription) {
		for (QueuedContextStruct entry : this.queuedContexts) {
			if (entry.getContext() == context) {
				return;
			}
		}

		this.queuedContexts.add(new QueuedContextStruct(context, requiredResources, resourceDescription));
		save();
	}
/*
	 * Adds the given context and the required resources to the queue if
	 * this context is not yet queued.
	 */
Adds the given context and the required resources to the queue if
this context is not yet queued.
Adds the given context and the required resources to the queue if this context is not yet queued .
public synchronized void queueContext(StepContext context, List<LockableResourcesStruct> requiredResources, String resourceDescription) {
		for (QueuedContextStruct entry : this.queuedContexts) {
			if (entry.getContext() == context) {
				return;
			}
		}
		this.queuedContexts.add(new QueuedContextStruct(context, requiredResources, resourceDescription));
		save();
	}
public synchronized void queueContext ( StepContext context , List < LockableResourcesStruct > requiredResources , String resourceDescription ) { for ( QueuedContextStruct entry : this . queuedContexts ) { if ( entry . getContext ( ) == context ) { return ; } } this . queuedContexts . add ( new QueuedContextStruct ( context , requiredResources , resourceDescription ) ) ; save ( ) ; }
Adds the given context and the required resources to the queue if
 this context is not yet queued.
Adds the given context and the required resources to the queue if this context is not yet queued .