Class DisableConcurrentBuildsJobProperty
java.lang.Object
hudson.model.JobProperty<J>
jenkins.model.OptionalJobProperty<WorkflowJob>
org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
@ExportedBean
public class DisableConcurrentBuildsJobProperty
extends OptionalJobProperty<WorkflowJob>
OptionalJobProperty
for setting whether a job should allow concurrent builds.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Records that a build was canceled because ofisAbortPrevious()
.static class
Nested classes/interfaces inherited from class jenkins.model.OptionalJobProperty
OptionalJobProperty.OptionalJobPropertyDescriptor
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.JobProperty
owner
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.model.OptionalJobProperty
getDescriptor
Methods inherited from class hudson.model.JobProperty
getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Constructor Details
-
DisableConcurrentBuildsJobProperty
@DataBoundConstructor public DisableConcurrentBuildsJobProperty()
-
-
Method Details
-
isAbortPrevious
public boolean isAbortPrevious() -
setAbortPrevious
@DataBoundSetter public void setAbortPrevious(boolean abortPrevious)
-