public class BuildRetentionBranchProperty extends BranchProperty
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildRetentionBranchProperty.DescriptorImpl
Our
Descriptor. |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
BuildRetentionBranchProperty(BuildDiscarder buildDiscarder) |
| Modifier and Type | Method and Description |
|---|---|
BuildDiscarder |
getBuildDiscarder() |
<P extends Job<P,B>,B extends Run<P,B>> |
jobDecorator(Class<P> jobType)
Returns a
JobDecorator for the specific job type. |
asArrayList, decorator, decorator, getDescriptor@DataBoundConstructor public BuildRetentionBranchProperty(BuildDiscarder buildDiscarder)
public BuildDiscarder getBuildDiscarder()
public <P extends Job<P,B>,B extends Run<P,B>> JobDecorator<P,B> jobDecorator(Class<P> jobType)
BranchPropertyJobDecorator for the specific job type.jobDecorator in class BranchPropertyP - the type of job.B - the type of run of the job.jobType - the job class.JobDecorator or null if none appropriate to this type of job.Copyright © 2016–2019. All rights reserved.