java.lang.Object
com.github.kostyasha.github.integration.multibranch.Functions

public class Functions extends Object
Author:
Kanstantsin Shautsou
  • Method Details

    • withTrigger

      public static <ITEM extends Item> Predicate<ITEM> withTrigger(Class<? extends Trigger> clazz)
    • isBuildable

      public static <ITEM extends Item> Predicate<ITEM> isBuildable()
      Can be useful to ignore disabled jobs on reregistering hooks
      Returns:
      predicate with true on apply if item is buildable
    • withBranchHandler

      public static <ITEM extends Item> Predicate<ITEM> withBranchHandler()
    • withGitHubSCMSource

      public static <PROJECT extends jenkins.branch.MultiBranchProject> Predicate<PROJECT> withGitHubSCMSource()