| Package | Description |
|---|---|
| org.jenkins.plugins.lockableresources | |
| org.jenkins.plugins.lockableresources.actions | |
| org.jenkins.plugins.lockableresources.queue |
| Modifier and Type | Method and Description |
|---|---|
LockableResource |
LockableResourcesManager.fromName(String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
List<LockableResource> |
LockableResources.getResources() |
List<LockableResource> |
LockableResourcesManager.getResources() |
List<LockableResource> |
LockableResourcesManager.getResourcesFromBuild(hudson.model.AbstractBuild<?,?> build) |
List<LockableResource> |
LockableResourcesManager.getResourcesFromProject(String fullName) |
List<LockableResource> |
LockableResourcesManager.getResourcesWithLabel(String label,
Map<String,Object> params) |
List<LockableResource> |
LockableResourcesManager.queue(LockableResourcesStruct requiredResources,
long queueItemId,
String queueItemProject,
int number,
Map<String,Object> params,
Logger log) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LockableResourcesManager.cleanWaitingContext(LockableResource resource,
org.jenkinsci.plugins.workflow.steps.StepContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LockableResourcesManager.lock(List<LockableResource> resources,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.workflow.steps.StepContext context) |
boolean |
LockableResourcesManager.lock(List<LockableResource> resources,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.workflow.steps.StepContext context,
boolean inversePrecedence)
Try to lock the resource and return true if locked.
|
boolean |
LockableResourcesManager.queue(List<LockableResource> resources,
long queueItemId) |
boolean |
LockableResourcesManager.reserve(List<LockableResource> resources,
String userName) |
void |
LockableResourcesManager.reset(List<LockableResource> resources) |
void |
LockableResourcesManager.unlock(List<LockableResource> resourcesToUnLock,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.workflow.steps.StepContext context) |
void |
LockableResourcesManager.unlock(List<LockableResource> resourcesToUnLock,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.workflow.steps.StepContext context,
boolean inversePrecedence) |
void |
LockableResourcesManager.unreserve(List<LockableResource> resources) |
| Modifier and Type | Method and Description |
|---|---|
List<LockableResource> |
LockableResourcesRootAction.getResources() |
| Modifier and Type | Method and Description |
|---|---|
static LockedResourcesBuildAction |
LockedResourcesBuildAction.fromResources(List<LockableResource> resources) |
| Constructor and Description |
|---|
ResourcePOJO(LockableResource r) |
| Modifier and Type | Field and Description |
|---|---|
List<LockableResource> |
LockableResourcesStruct.required |
Copyright © 2004-2016. All Rights Reserved.