public class Issues extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BODY |
static String |
CLOSE_MESSAGE |
static String |
CONFLICT_PREFIX |
static String |
CONFLICTS_HEADER |
static String |
HEADER_KIND |
static String |
PENDING_CHANGE_COMMENT_PREFIX |
static String |
PENDING_COMMAND_PREFIX |
| Constructor and Description |
|---|
Issues() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addChangeFromCommentLine(List<DependencyVersionChange> answer,
Kind kind,
String text) |
static void |
addConflictsComment(org.kohsuke.github.GHIssue issue,
List<DependencyVersionChange> pendingChanges,
String operationDescription,
DependenciesCheck check) |
static String |
conflictChangesComment(List<DependencyVersionChange> pendingChanges,
DependenciesCheck check) |
protected static String |
createConfictIssueComment(DependenciesCheck check) |
static org.kohsuke.github.GHIssue |
createIssue(CommandContext context,
org.kohsuke.github.GHRepository repository) |
protected static String |
createPendingVersionChangeCommands(List<DependencyVersionChange> changes) |
static org.kohsuke.github.GHIssue |
findIssue(CommandContext context,
List<org.kohsuke.github.GHIssue> issues)
Lets try find the issue
|
static Collection<org.kohsuke.github.GHLabel> |
getLabels(org.kohsuke.github.GHIssue issue)
Lets return the labels on an issue with retries
|
static List<org.kohsuke.github.GHIssue> |
getOpenIssues(org.kohsuke.github.GHRepository ghRepository,
Configuration configuration) |
static List<org.kohsuke.github.GHIssue> |
getOpenIssues(org.kohsuke.github.GHRepository ghRepository,
String label) |
static boolean |
isOpen(org.kohsuke.github.GHIssue issue) |
static List<DependencyVersionChange> |
loadPendingChangesFromIssue(CommandContext context,
org.kohsuke.github.GHIssue issue) |
static void |
logOpen(List<org.kohsuke.github.GHIssue> issues) |
static List<DependencyVersionChange> |
parseUpdateBotIssuePendingChangesComment(String command) |
static String |
updateBotIssuePendingChangesComment(CommandContext context,
org.kohsuke.github.GHIssueComment comment) |
public static final String BODY
public static final String CLOSE_MESSAGE
public static final String PENDING_CHANGE_COMMENT_PREFIX
public static final String HEADER_KIND
public static final String CONFLICTS_HEADER
public static final String CONFLICT_PREFIX
public static final String PENDING_COMMAND_PREFIX
public static List<org.kohsuke.github.GHIssue> getOpenIssues(org.kohsuke.github.GHRepository ghRepository, Configuration configuration) throws IOException
IOExceptionpublic static List<org.kohsuke.github.GHIssue> getOpenIssues(org.kohsuke.github.GHRepository ghRepository, String label) throws IOException
IOExceptionpublic static List<DependencyVersionChange> loadPendingChangesFromIssue(CommandContext context, org.kohsuke.github.GHIssue issue) throws IOException
IOExceptionpublic static List<DependencyVersionChange> parseUpdateBotIssuePendingChangesComment(String command)
protected static void addChangeFromCommentLine(List<DependencyVersionChange> answer, Kind kind, String text)
protected static String createPendingVersionChangeCommands(List<DependencyVersionChange> changes)
public static void addConflictsComment(org.kohsuke.github.GHIssue issue,
List<DependencyVersionChange> pendingChanges,
String operationDescription,
DependenciesCheck check)
throws IOException
IOExceptionpublic static String conflictChangesComment(List<DependencyVersionChange> pendingChanges, DependenciesCheck check)
protected static String createConfictIssueComment(DependenciesCheck check)
public static String updateBotIssuePendingChangesComment(CommandContext context, org.kohsuke.github.GHIssueComment comment) throws IOException
IOExceptionpublic static org.kohsuke.github.GHIssue findIssue(CommandContext context, List<org.kohsuke.github.GHIssue> issues)
public static org.kohsuke.github.GHIssue createIssue(CommandContext context, org.kohsuke.github.GHRepository repository) throws IOException
IOExceptionpublic static void logOpen(List<org.kohsuke.github.GHIssue> issues)
public static Collection<org.kohsuke.github.GHLabel> getLabels(org.kohsuke.github.GHIssue issue) throws IOException
IOExceptionpublic static boolean isOpen(org.kohsuke.github.GHIssue issue)
Copyright © 2076–2017 Red Hat. All rights reserved.