Class JobDecorator<P extends Job<P,​B>,​B extends Run<P,​B>>

  • Direct Known Subclasses:
    ProjectDecorator

    public class JobDecorator<P extends Job<P,​B>,​B extends Run<P,​B>>
    extends Object
    Something that can decorate a job. Decorations can include manipulating the list of JobPropertys of the project as well as custom tweaks that are specific to the project instance type itself.
    • Constructor Detail

      • JobDecorator

        public JobDecorator()
    • Method Detail

      • project

        @NonNull
        public P project​(@NonNull
                         P project)
        This method is an extension point whereby a BranchProperty can apply final tweaks to the project for the branch specific project. Implementations should try to obey the following rules: In general, this method should be seen as a final hook for use in those cases where the existing hooks prove insufficient.
        Parameters:
        project - the project.
        Returns:
        the supplied project for method chaining.