Package jenkins.branch
Class ProjectDecorator<P extends Project<P,B>,B extends Build<P,B>>
java.lang.Object
jenkins.branch.JobDecorator<P,B>
jenkins.branch.ProjectDecorator<P,B>
public class ProjectDecorator<P extends Project<P,B>,B extends Build<P,B>>
extends JobDecorator<P,B>
Something that can decorate a project.
Decorations can include manipulating the list of
Publisher
instances,
the list of BuildWrapper
instances,
and things specified in the more generic JobDecorator
.- Since:
- 0.2
- Author:
- Stephen Connolly
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildWrappers
(List<BuildWrapper> wrappers) This method is an extension point whereby aProjectDecorator
can filter or enhance the set ofBuildWrapper
to be used by the job.publishers
(List<Publisher> publishers) This method is an extension point whereby aProjectDecorator
can filter or enhance the set ofPublisher
to be used by the job.Methods inherited from class jenkins.branch.JobDecorator
jobProperties, project
-
Constructor Details
-
ProjectDecorator
public ProjectDecorator()
-
-
Method Details
-
publishers
This method is an extension point whereby aProjectDecorator
can filter or enhance the set ofPublisher
to be used by the job. -
buildWrappers
This method is an extension point whereby aProjectDecorator
can filter or enhance the set ofBuildWrapper
to be used by the job.- Parameters:
wrappers
- the proposedBuildWrapper
s.- Returns:
- the resulting
BuildWrapper
s.
-