public abstract class ModifyFilesCommandSupport extends CommandSupport
| Constructor and Description |
|---|
ModifyFilesCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected DependenciesCheck |
checkDependencyChanges(CommandContext context,
List<DependencyVersionChange> steps) |
protected boolean |
doProcess(CommandContext context) |
protected org.kohsuke.github.GHPullRequest |
findPullRequest(CommandContext context,
List<org.kohsuke.github.GHPullRequest> pullRequests)
Lets try find a pull request for previous PRs
|
protected String |
getOperationDescription(CommandContext context) |
protected void |
gitCommitAndPullRequest(CommandContext context) |
protected List<DependencyVersionChange> |
loadPendingChanges(CommandContext context) |
protected void |
prepareDirectory(CommandContext context) |
protected void |
processPullRequest(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest) |
protected boolean |
pushVersionChangesWithoutChecks(CommandContext parentContext,
List<DependencyVersionChange> steps) |
protected boolean |
pushVersionsWithChecks(CommandContext context,
List<DependencyVersionChange> originalSteps) |
void |
run(CommandContext context) |
void |
run(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest) |
void |
updatePendingChanges(CommandContext context,
DependenciesCheck check,
List<DependencyVersionChange> pendingChanges) |
appendPullRequestComment, appendPullRequestCommentArguments, cloneOrPullRepositories, createCommandContext, createPullRequestComment, getLocalRepositories, getOrFindIssue, getRepositoryConfig, run, validateConfigurationpublic void run(CommandContext context) throws IOException
run in class CommandSupportIOExceptionpublic void run(CommandContext context, org.kohsuke.github.GHRepository ghRepository, org.kohsuke.github.GHPullRequest pullRequest) throws IOException
IOExceptionprotected void prepareDirectory(CommandContext context)
protected boolean doProcess(CommandContext context) throws IOException
IOExceptionprotected void gitCommitAndPullRequest(CommandContext context) throws IOException
IOExceptionprotected void processPullRequest(CommandContext context, org.kohsuke.github.GHRepository ghRepository, org.kohsuke.github.GHPullRequest pullRequest) throws IOException
IOExceptionprotected org.kohsuke.github.GHPullRequest findPullRequest(CommandContext context, List<org.kohsuke.github.GHPullRequest> pullRequests)
protected boolean pushVersionChangesWithoutChecks(CommandContext parentContext, List<DependencyVersionChange> steps) throws IOException
IOExceptionprotected boolean pushVersionsWithChecks(CommandContext context, List<DependencyVersionChange> originalSteps) throws IOException
IOExceptionpublic void updatePendingChanges(CommandContext context, DependenciesCheck check, List<DependencyVersionChange> pendingChanges) throws IOException
IOExceptionprotected String getOperationDescription(CommandContext context)
protected List<DependencyVersionChange> loadPendingChanges(CommandContext context) throws IOException
IOExceptionprotected DependenciesCheck checkDependencyChanges(CommandContext context, List<DependencyVersionChange> steps)
Copyright © 2076–2017 Red Hat. All rights reserved.