Class PriorityJobProperty
- java.lang.Object
-
- hudson.model.JobProperty<Job<?,?>>
-
- jenkins.advancedqueue.priority.strategy.PriorityJobProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
public class PriorityJobProperty extends JobProperty<Job<?,?>>
- Since:
- 2.0
- Author:
- Magnus Sandberg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PriorityJobProperty.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description int
priority
boolean
useJobPriority
-
Fields inherited from class hudson.model.JobProperty
owner
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description PriorityJobProperty(boolean useJobPriority, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriorityJobProperty.DescriptorImpl
getDescriptor()
int
getPriority()
boolean
getUseJobPriority()
JobProperty<?>
reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
-
Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, setOwner
-
-
-
-
Method Detail
-
reconfigure
public JobProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException
- Specified by:
reconfigure
in interfaceReconfigurableDescribable<JobProperty<?>>
- Overrides:
reconfigure
in classJobProperty<Job<?,?>>
- Throws:
Descriptor.FormException
-
getPriority
public int getPriority()
-
getUseJobPriority
public boolean getUseJobPriority()
-
getDescriptor
public PriorityJobProperty.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<JobProperty<?>>
- Overrides:
getDescriptor
in classJobProperty<Job<?,?>>
-
-