public class BuildRetentionBranchProperty extends BranchProperty
Modifier and Type | Class and Description |
---|---|
static class |
BuildRetentionBranchProperty.DescriptorImpl
Our
Descriptor . |
Constructor and Description |
---|
BuildRetentionBranchProperty(jenkins.model.BuildDiscarder buildDiscarder) |
Modifier and Type | Method and Description |
---|---|
jenkins.model.BuildDiscarder |
getBuildDiscarder() |
<P extends hudson.model.Job<P,B>,B extends hudson.model.Run<P,B>> |
jobDecorator(Class<P> jobType)
Returns a
JobDecorator for the specific job type. |
asArrayList, decorator, decorator, getDescriptor
@DataBoundConstructor public BuildRetentionBranchProperty(jenkins.model.BuildDiscarder buildDiscarder)
public jenkins.model.BuildDiscarder getBuildDiscarder()
public <P extends hudson.model.Job<P,B>,B extends hudson.model.Run<P,B>> JobDecorator<P,B> jobDecorator(Class<P> jobType)
BranchProperty
JobDecorator
for the specific job type.jobDecorator
in class BranchProperty
P
- 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–2017. All rights reserved.