Class PullRequestUtils

java.lang.Object
io.jenkins.plugins.monitoring.util.PullRequestUtils

public final class PullRequestUtils extends Object
A utility class for pull requests.
  • Method Details

    • isPullRequest

      public static boolean isPullRequest(Job<?,?> job)
      Checks whether a given Job is a pull request or not.
      Parameters:
      job - the job to analyse.
      Returns:
      true if the job is a pull request, else false.