Class PullRequestUtils
java.lang.Object
io.jenkins.plugins.monitoring.util.PullRequestUtils
A utility class for pull requests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPullRequest(Job<?, ?> job) Checks whether a givenJobis a pull request or not.
-
Method Details
-
isPullRequest
Checks whether a givenJobis a pull request or not.- Parameters:
job- the job to analyse.- Returns:
- true if the job is a pull request, else false.
-