Class BuildRetentionBranchProperty

    • Constructor Detail

      • BuildRetentionBranchProperty

        @DataBoundConstructor
        public BuildRetentionBranchProperty​(BuildDiscarder buildDiscarder)
    • Method Detail

      • jobDecorator

        public <P extends Job<P,​B>,​B extends Run<P,​B>> JobDecorator<P,​B> jobDecorator​(Class<P> jobType)
        Description copied from class: BranchProperty
        Returns a JobDecorator for the specific job type.
        Overrides:
        jobDecorator in class BranchProperty
        Type Parameters:
        P - the type of job.
        B - the type of run of the job.
        Parameters:
        jobType - the job class.
        Returns:
        a JobDecorator or null if none appropriate to this type of job.