public abstract class JobRestriction extends Object implements hudson.ExtensionPoint, hudson.model.Describable<JobRestriction>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static JobRestriction |
DEFAULT |
| Constructor and Description |
|---|
JobRestriction() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<JobRestriction,hudson.model.Descriptor<JobRestriction>> |
all()
Get list of all registered
JobRestrictions. |
abstract boolean |
canTake(hudson.model.Queue.BuildableItem item) |
abstract boolean |
canTake(hudson.model.Run run) |
JobRestrictionDescriptor |
getDescriptor() |
public static final JobRestriction DEFAULT
public abstract boolean canTake(hudson.model.Queue.BuildableItem item)
public abstract boolean canTake(hudson.model.Run run)
public JobRestrictionDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<JobRestriction>public static hudson.DescriptorExtensionList<JobRestriction,hudson.model.Descriptor<JobRestriction>> all()
JobRestrictions.UserMacroExtensions.Copyright © 2004-2013. All Rights Reserved.