| Package | Description |
|---|---|
| io.fabric8.updatebot.commands | |
| io.fabric8.updatebot.github | |
| io.fabric8.updatebot.kind | |
| io.fabric8.updatebot.kind.maven | |
| io.fabric8.updatebot.kind.npm |
| Modifier and Type | Class and Description |
|---|---|
class |
PushSourceChangesContext |
class |
PushVersionChangesContext |
| Modifier and Type | Method and Description |
|---|---|
protected CommandContext |
PushSourceChanges.createCommandContext(LocalRepository repository,
Configuration configuration) |
protected CommandContext |
CommandSupport.createCommandContext(LocalRepository repository,
Configuration configuration) |
protected CommandContext |
CommandContext.firstChild() |
CommandContext |
CommandContext.getParentContext() |
| Modifier and Type | Method and Description |
|---|---|
List<CommandContext> |
CommandContext.getChildren() |
List<CommandContext> |
ParentContext.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CommandContext.addChild(CommandContext child) |
void |
ParentContext.addChild(CommandContext context) |
protected DependenciesCheck |
ModifyFilesCommandSupport.checkDependencyChanges(CommandContext context,
List<DependencyVersionChange> steps) |
protected boolean |
PushSourceChanges.doProcess(CommandContext context) |
protected boolean |
PullVersionChanges.doProcess(CommandContext context) |
protected boolean |
PushVersionChanges.doProcess(CommandContext context) |
protected boolean |
ModifyFilesCommandSupport.doProcess(CommandContext context) |
protected org.kohsuke.github.GHPullRequest |
ModifyFilesCommandSupport.findPullRequest(CommandContext context,
List<org.kohsuke.github.GHPullRequest> pullRequests)
Lets try find a pull request for previous PRs
|
protected String |
PushSourceChanges.getOperationDescription(CommandContext context) |
protected String |
ModifyFilesCommandSupport.getOperationDescription(CommandContext context) |
protected org.kohsuke.github.GHIssue |
CommandSupport.getOrFindIssue(CommandContext context,
org.kohsuke.github.GHRepository ghRepository) |
protected void |
ModifyFilesCommandSupport.gitCommitAndPullRequest(CommandContext context) |
protected CompositeCommand |
UpdatePullRequests.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.
|
protected List<DependencyVersionChange> |
ModifyFilesCommandSupport.loadPendingChanges(CommandContext context) |
protected List<DependencyVersionChange> |
PushSourceChanges.loadVersionChangesFromSource(CommandContext context) |
CompositeCommand |
UpdatePullRequests.parseUpdateBotCommandComment(CommandContext context,
String fullCommand) |
protected void |
ModifyFilesCommandSupport.prepareDirectory(CommandContext context) |
protected void |
ModifyFilesCommandSupport.processPullRequest(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest) |
protected boolean |
ModifyFilesCommandSupport.pushVersionChangesWithoutChecks(CommandContext parentContext,
List<DependencyVersionChange> steps) |
protected boolean |
ModifyFilesCommandSupport.pushVersionsWithChecks(CommandContext context,
List<DependencyVersionChange> originalSteps) |
void |
CommandContext.removeChild(CommandContext child)
Lets remove a child context if it wasn't applicable (to avoid generating unnecessary change comments etc
|
abstract void |
CommandSupport.run(CommandContext context) |
void |
CompositeCommand.run(CommandContext originalContext) |
void |
UpdatePullRequests.run(CommandContext context) |
void |
ModifyFilesCommandSupport.run(CommandContext context) |
void |
Help.run(CommandContext context) |
void |
CompositeCommand.run(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest)
Invoked from a polling/update command
|
void |
ModifyFilesCommandSupport.run(CommandContext context,
org.kohsuke.github.GHRepository ghRepository,
org.kohsuke.github.GHPullRequest pullRequest) |
void |
ModifyFilesCommandSupport.updatePendingChanges(CommandContext context,
DependenciesCheck check,
List<DependencyVersionChange> pendingChanges) |
| Constructor and Description |
|---|
CommandContext(CommandContext parentContext) |
PushSourceChangesContext(CommandContext parentContext,
PushSourceChanges command,
LocalRepository sourceRepository) |
PushVersionChangesContext(CommandContext parentContext,
DependencyVersionChange step) |
| Modifier and Type | Method and Description |
|---|---|
static org.kohsuke.github.GHIssue |
Issues.createIssue(CommandContext context,
org.kohsuke.github.GHRepository repository) |
static org.kohsuke.github.GHIssue |
Issues.findIssue(CommandContext context,
List<org.kohsuke.github.GHIssue> issues)
Lets try find the issue
|
static List<DependencyVersionChange> |
Issues.loadPendingChangesFromIssue(CommandContext context,
org.kohsuke.github.GHIssue issue) |
static String |
Issues.updateBotIssuePendingChangesComment(CommandContext context,
org.kohsuke.github.GHIssueComment comment) |
| Modifier and Type | Method and Description |
|---|---|
void |
MavenUpdater.addVersionChangesFromSource(CommandContext context,
Dependencies dependencyConfig,
List<DependencyVersionChange> list) |
KindDependenciesCheck |
MavenUpdater.checkDependencies(CommandContext context,
List<DependencyVersionChange> value) |
protected File |
MavenUpdater.createVersionsYamlFile(CommandContext context) |
boolean |
MavenUpdater.isApplicable(CommandContext context) |
boolean |
MavenUpdater.pullVersions(CommandContext context) |
boolean |
MavenUpdater.pushVersions(CommandContext context,
List<DependencyVersionChange> changes) |
static boolean |
MavenUpdater.runCommandAndLogOutput(CommandContext context,
String... commands) |
| Modifier and Type | Method and Description |
|---|---|
void |
PackageJsonUpdater.addVersionChangesFromSource(CommandContext context,
Dependencies dependencyConfig,
List<DependencyVersionChange> list)
Adds the list of possible dependency update steps from the given source context that we can then apply to
other repositories
|
KindDependenciesCheck |
PackageJsonUpdater.checkDependencies(CommandContext context,
List<DependencyVersionChange> changes) |
void |
NpmDependencyTreeGenerator.generateDependencyTree(CommandContext context,
String dependencyFileName) |
void |
DefaultNpmDependencyTreeGenerator.generateDependencyTree(CommandContext context,
String dependencyFileName) |
protected void |
PackageJsonUpdater.generateDependencyTree(CommandContext context,
String dependencyFileName) |
protected com.fasterxml.jackson.databind.JsonNode |
PackageJsonUpdater.getJsonFile(CommandContext context,
String fileName) |
protected com.fasterxml.jackson.databind.JsonNode |
PackageJsonUpdater.getPackageJsonTree(CommandContext context) |
boolean |
PackageJsonUpdater.isApplicable(CommandContext context) |
boolean |
PackageJsonUpdater.pullVersions(CommandContext context) |
Copyright © 2076–2017 Red Hat. All rights reserved.