public class PushVersionChangesContext extends CommandContext
| Modifier and Type | Class and Description |
|---|---|
static class |
PushVersionChangesContext.Change |
| Constructor and Description |
|---|
PushVersionChangesContext(CommandContext parentContext,
DependencyVersionChange step) |
| Modifier and Type | Method and Description |
|---|---|
PushVersionChangesContext.Change |
change(String name)
Returns the change for the given name or null if there is none
|
String |
createCommit() |
String |
createPullRequestBody() |
String |
createPullRequestTitle() |
String |
createPullRequestTitlePrefix() |
List<PushVersionChangesContext.Change> |
getChanges() |
Kind |
getKind() |
String |
getName() |
DependencyVersionChange |
getStep() |
String |
getValue() |
String |
toString() |
void |
updatedVersion(String dependencyKey,
String name,
String newValue,
String oldValue) |
addChild, createIssueTitlePrefix, createStatusMap, file, firstChild, getChildren, getCloneUrl, getConfiguration, getDir, getGit, getIssue, getParentContext, getPullRequest, getRepository, getRepositoryFullName, getStatus, getUpdatedFiles, gitHubRepository, info, isUpdated, removeChild, setIssue, setPullRequest, setStatus, updatedFile, updateVersion, warn, warnpublic PushVersionChangesContext(CommandContext parentContext, DependencyVersionChange step)
public String createPullRequestBody()
createPullRequestBody in class CommandContextpublic String createCommit()
createCommit in class CommandContextpublic String createPullRequestTitle()
createPullRequestTitle in class CommandContextpublic String createPullRequestTitlePrefix()
createPullRequestTitlePrefix in class CommandContextpublic DependencyVersionChange getStep()
public Kind getKind()
public String getName()
public String getValue()
public List<PushVersionChangesContext.Change> getChanges()
public void updatedVersion(String dependencyKey, String name, String newValue, String oldValue)
public PushVersionChangesContext.Change change(String name)
Copyright © 2076–2017 Red Hat. All rights reserved.