Class GitHubBranchDecisionContext.Builder
- java.lang.Object
-
- com.github.kostyasha.github.integration.generic.GitHubBranchDecisionContext.Builder
-
- Enclosing class:
- GitHubBranchDecisionContext
public static class GitHubBranchDecisionContext.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubBranchDecisionContext
build()
GitHubBranchDecisionContext.Builder
withBranchHandler(GitHubBranchHandler branchHandler)
GitHubBranchDecisionContext.Builder
withBranchTrigger(GitHubBranchTrigger branchTrigger)
GitHubBranchDecisionContext.Builder
withListener(TaskListener listener)
GitHubBranchDecisionContext.Builder
withLocalBranch(GitHubBranch localBranch)
GitHubBranchDecisionContext.Builder
withLocalRepo(GitHubBranchRepository localRepo)
GitHubBranchDecisionContext.Builder
withRemoteBranch(org.kohsuke.github.GHBranch remoteBranch)
GitHubBranchDecisionContext.Builder
withSCMSource(GitHubSCMSource scmSource)
-
-
-
Method Detail
-
withRemoteBranch
public GitHubBranchDecisionContext.Builder withRemoteBranch(@CheckForNull org.kohsuke.github.GHBranch remoteBranch)
-
withLocalBranch
public GitHubBranchDecisionContext.Builder withLocalBranch(@CheckForNull GitHubBranch localBranch)
-
withLocalRepo
public GitHubBranchDecisionContext.Builder withLocalRepo(GitHubBranchRepository localRepo)
-
withBranchTrigger
public GitHubBranchDecisionContext.Builder withBranchTrigger(GitHubBranchTrigger branchTrigger)
-
withListener
public GitHubBranchDecisionContext.Builder withListener(@NonNull TaskListener listener)
-
withBranchHandler
public GitHubBranchDecisionContext.Builder withBranchHandler(@CheckForNull GitHubBranchHandler branchHandler)
-
withSCMSource
public GitHubBranchDecisionContext.Builder withSCMSource(GitHubSCMSource scmSource)
-
build
public GitHubBranchDecisionContext build()
-
-