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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildWrappers(List<BuildWrapper> wrappers) This method is an extension point whereby aProjectDecoratorcan filter or enhance the set ofBuildWrapperto be used by the job.publishers(List<Publisher> publishers) This method is an extension point whereby aProjectDecoratorcan filter or enhance the set ofPublisherto 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 aProjectDecoratorcan filter or enhance the set ofPublisherto be used by the job. -
buildWrappers
This method is an extension point whereby aProjectDecoratorcan filter or enhance the set ofBuildWrapperto be used by the job.- Parameters:
wrappers- the proposedBuildWrappers.- Returns:
- the resulting
BuildWrappers.
-