Class BuildCauseOverride

  • All Implemented Interfaces:
    ExtensionPoint

    public abstract class BuildCauseOverride
    extends Object
    implements ExtensionPoint
    This class serves as an extension point to enable plugins to contribute additional entries for Cause.
    Author:
    kmilliga
    • Constructor Detail

      • BuildCauseOverride

        public BuildCauseOverride()
    • Method Detail

      • getBuildCauseOverride

        public abstract List<Cause> getBuildCauseOverride​(org.kohsuke.stapler.StaplerRequest req)
      • getBuildCauseOverrideByAll

        public static List<Cause> getBuildCauseOverrideByAll​(org.kohsuke.stapler.StaplerRequest req)
        Compiles a list of all Cause to be contributed to the build.
        Parameters:
        req - The StaplerRequest for the build request.
        Returns:
        A list of Cause that have been identified by all defined contributors.