public class LockableResource extends hudson.model.AbstractDescribableImpl<LockableResource>
| Modifier and Type | Class and Description |
|---|---|
static class |
LockableResource.DescriptorImpl |
| Constructor and Description |
|---|
LockableResource(String name,
String description,
String reservedBy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
hudson.model.AbstractBuild<?,?> |
getBuild() |
String |
getDescription() |
String |
getName() |
int |
getQueueItemId() |
String |
getReservedBy() |
hudson.model.Queue.Task |
getTask() |
int |
hashCode() |
boolean |
isLocked() |
boolean |
isQueued() |
boolean |
isQueued(int taskId) |
boolean |
isReserved() |
void |
setBuild(hudson.model.AbstractBuild<?,?> lockedBy) |
void |
setQueueItemId(int queueItemId) |
String |
toString() |
void |
unqueue() |
public String getName()
public String getDescription()
public String getReservedBy()
public boolean isReserved()
public boolean isQueued()
public boolean isQueued(int taskId)
public void unqueue()
public boolean isLocked()
public hudson.model.AbstractBuild<?,?> getBuild()
public void setBuild(hudson.model.AbstractBuild<?,?> lockedBy)
public hudson.model.Queue.Task getTask()
public int getQueueItemId()
public void setQueueItemId(int queueItemId)
Copyright © 2004-2013. All Rights Reserved.