Class PRHelperFunctions
- java.lang.Object
-
- org.jenkinsci.plugins.github.pullrequest.utils.PRHelperFunctions
-
public final class PRHelperFunctions extends Object
- Author:
- lanwen (Merkushev Kirill)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
asFullRepoName(com.cloudbees.jenkins.GitHubRepositoryName repo)
static com.google.common.base.Function<org.kohsuke.github.GHPullRequest,Integer>
extractPRNumber()
static com.google.common.base.Function<Integer,org.kohsuke.github.GHPullRequest>
fetchRemotePR(org.kohsuke.github.GHRepository ghRepository)
-
-
-
Method Detail
-
asFullRepoName
public static String asFullRepoName(com.cloudbees.jenkins.GitHubRepositoryName repo)
-
fetchRemotePR
public static com.google.common.base.Function<Integer,org.kohsuke.github.GHPullRequest> fetchRemotePR(org.kohsuke.github.GHRepository ghRepository)
-
extractPRNumber
public static com.google.common.base.Function<org.kohsuke.github.GHPullRequest,Integer> extractPRNumber()
-
-