public class JobDecorator<P extends Job<P,B>,B extends Run<P,B>> extends Object
JobPropertys of the project as well as custom
tweaks that are specific to the project instance type itself.| Constructor and Description |
|---|
JobDecorator() |
| Modifier and Type | Method and Description |
|---|---|
List<JobProperty<? super P>> |
jobProperties(List<JobProperty<? super P>> properties)
This method is an extension point whereby a
BranchProperty can filter or enhance the set of
JobProperty to be used by the branch specific project. |
P |
project(P project)
This method is an extension point whereby a
BranchProperty can apply final tweaks to the project
for the branch specific project. |
@NonNull public List<JobProperty<? super P>> jobProperties(@NonNull List<JobProperty<? super P>> properties)
BranchProperty can filter or enhance the set of
JobProperty to be used by the branch specific project.properties - the proposed JobPropertys.JobPropertys.@NonNull public P project(@NonNull P project)
BranchProperty can apply final tweaks to the project
for the branch specific project. Implementations should try to obey the following rules:
JobProperty instances in the job, use
jobProperties(List) instead.BuildWrapper instances in the job, use
ProjectDecorator.buildWrappers(List) instead.Publisher instances in the job, use ProjectDecorator.publishers(java.util.List)
instead.project - the project.Copyright © 2016–2019. All rights reserved.