Package jenkins.model
Class BuildDiscarderProperty
- java.lang.Object
-
- hudson.model.JobProperty<J>
-
- jenkins.model.OptionalJobProperty<Job<?,?>>
-
- jenkins.model.BuildDiscarderProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
public class BuildDiscarderProperty extends OptionalJobProperty<Job<?,?>>
Defines aBuildDiscarder
.- Since:
- 1.637
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildDiscarderProperty.ConditionallyHidden
static class
BuildDiscarderProperty.DescriptorImpl
-
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
Constructors Constructor Description BuildDiscarderProperty(BuildDiscarder strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildDiscarder
getStrategy()
-
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, setOwner
-
-
-
-
Constructor Detail
-
BuildDiscarderProperty
@DataBoundConstructor public BuildDiscarderProperty(BuildDiscarder strategy)
-
-
Method Detail
-
getStrategy
public BuildDiscarder getStrategy()
-
-