Package io.jenkins.updatebot.commands
Class UpdatePullRequestLoop
java.lang.Object
io.jenkins.updatebot.commands.CommandSupport
io.jenkins.updatebot.commands.UpdatePullRequestLoop
public class UpdatePullRequestLoop extends CommandSupport
A loop to keep updating Pull Requests until they all merge
-
Constructor Summary
Constructors Constructor Description UpdatePullRequestLoop()
-
Method Summary
Modifier and Type Method Description protected UpdatePullRequests
createUpdatePullRequestsCommand()
RepositoryConfig
getRepositoryConfig(Configuration configuration)
void
run(CommandContext context)
ParentContext
run(Configuration configuration)
Methods inherited from class io.jenkins.updatebot.commands.CommandSupport
appendPullRequestComment, appendPullRequestCommentArguments, cloneOrPullRepositories, createCommandContext, createPullRequestComment, discoverGitCredentials, getLocalRepositories, getOrFindIssue, setLocalRepositories, setRepositoryConfig, validateConfiguration
-
Constructor Details
-
UpdatePullRequestLoop
public UpdatePullRequestLoop()
-
-
Method Details
-
run
- Overrides:
run
in classCommandSupport
- Throws:
IOException
-
run
- Specified by:
run
in classCommandSupport
- Throws:
IOException
-
getRepositoryConfig
- Overrides:
getRepositoryConfig
in classCommandSupport
- Throws:
IOException
-
createUpdatePullRequestsCommand
-