Class PriorityJobProperty
- All Implemented Interfaces:
ExtensionPoint,Describable<JobProperty<?>>,ReconfigurableDescribable<JobProperty<?>>,BuildStep
- Since:
- 2.0
- Author:
- Magnus Sandberg
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanJobProperty<?>reconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
-
Field Details
-
useJobPriority
public final boolean useJobPriority -
priority
public final int priority
-
-
Constructor Details
-
PriorityJobProperty
@DataBoundConstructor public PriorityJobProperty(boolean useJobPriority, int priority)
-
-
Method Details
-
reconfigure
public JobProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) throws Descriptor.FormException - Specified by:
reconfigurein interfaceReconfigurableDescribable<JobProperty<?>>- Overrides:
reconfigurein classJobProperty<Job<?,?>> - Throws:
Descriptor.FormException
-
getPriority
public int getPriority() -
getUseJobPriority
public boolean getUseJobPriority() -
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<JobProperty<?>>- Overrides:
getDescriptorin classJobProperty<Job<?,?>>
-