public class UpdatePullRequests extends CommandSupport
| Constructor and Description |
|---|
UpdatePullRequests() |
| Modifier and Type | Method and Description |
|---|---|
protected CompositeCommand |
loadCommandsFromPullRequest(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest)
Lets load the old command context from comments on the PullRequest so that we can re-run a command to rebase things.
|
CompositeCommand |
parseUpdateBotCommandComment(CommandContext context,
String fullCommand) |
void |
run(CommandContext context) |
appendPullRequestComment, appendPullRequestCommentArguments, cloneOrPullRepositories, createCommandContext, createPullRequestComment, getLocalRepositories, getOrFindIssue, getRepositoryConfig, run, validateConfigurationpublic void run(CommandContext context) throws IOException
run in class CommandSupportIOExceptionprotected CompositeCommand loadCommandsFromPullRequest(CommandContext context, org.kohsuke.github.GHRepository ghRepository, org.kohsuke.github.GHPullRequest pullRequest) throws IOException
IOExceptionpublic CompositeCommand parseUpdateBotCommandComment(CommandContext context, String fullCommand)
Copyright © 2076–2017 Red Hat. All rights reserved.