| Modifier and Type | Method and Description |
|---|---|
void |
Aphrodite.addCommentToIssue(Issue issue,
Comment comment)
Adds a new comment to the specified issue.
|
void |
Aphrodite.addCommentToPatch(Patch patch,
String comment)
Add a
Comment to the specified Patch object, and propagate the changes
to the remote repository. |
void |
Aphrodite.addLabelToPatch(Patch patch,
String labelName)
Attach a label to the specified patch.
|
CommitStatus |
Aphrodite.getCommitStatusFromPatch(Patch patch)
Retrieve the current CI status of the latest commit associated with a given patch.
|
StreamComponent |
Aphrodite.getComponentBy(Repository repository,
Codebase codebase)
Get the StreamComponent which specifies the given repository and codebase.
|
Issue |
Aphrodite.getIssue(URL url)
Retrieve an issue object associated with the given
URL. |
List<Label> |
Aphrodite.getLabelsFromPatch(Patch patch)
Retrieve all labels associated with the provided
Patch object. |
List<Label> |
Aphrodite.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
Patch in Repository object. |
Patch |
Aphrodite.getPatch(URL url)
Get the
Patch located at the provided URL. |
List<Patch> |
Aphrodite.getPatchesAssociatedWith(Issue issue)
Retrieve all Patches associated with the provided
Issue object |
List<Patch> |
Aphrodite.getPatchesByState(Repository repository,
PatchState state)
Retrieve all Patches associated with the provided
Repository object, which have a
state that matches the provided PatchState object. |
Repository |
Aphrodite.getRepository(URL url)
Get the repository located at the provided
URL. |
Stream |
Aphrodite.getStream(String streamName)
Get a specific
Stream object based upon its String name. |
boolean |
Aphrodite.isRepositoryLabelsModifiable(Repository repository)
Discover if the user logged into a
RepositoryService has the correct permissions to apply/remove
labels to patches in the provided Repository |
void |
Aphrodite.removeLabelFromPatch(Patch patch,
String name)
Delete a label from the provided
Patch object. |
List<Issue> |
Aphrodite.searchIssuesByFilter(URL filterUrl)
Return all issues which match the provided filter.
|
void |
Aphrodite.setLabelsToPatch(Patch patch,
List<Label> labels)
Set the labels for the provided
Patch object. |
boolean |
Aphrodite.updateIssue(Issue issue)
Update a specific
Issue at the remote issue tracker service. |
| Modifier and Type | Method and Description |
|---|---|
static String |
Utils.getParamaterFromUrl(Pattern pattern,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
BugzillaIssueTracker.addCommentToIssue(Issue issue,
Comment comment) |
List<Comment> |
BugzillaClient.getCommentsForIssue(Issue issue) |
Issue |
BugzillaClient.getIssue(String trackerId) |
Issue |
BugzillaIssueTracker.getIssue(URL url) |
Issue |
BugzillaClient.getIssueWithComments(String trackerId) |
Issue |
BugzillaClient.getIssueWithComments(URL url) |
boolean |
BugzillaClient.postComment(Issue issue,
Comment comment) |
List<Issue> |
BugzillaClient.searchIssuesByFilter(URL filterUrl) |
List<Issue> |
BugzillaIssueTracker.searchIssuesByFilter(URL filterUrl) |
boolean |
BugzillaIssueTracker.updateIssue(Issue issue) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIssueTracker.addCommentToIssue(Issue issue,
Comment comment) |
protected void |
AbstractIssueTracker.checkHost(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
JiraIssueTracker.addCommentToIssue(Issue issue,
Comment comment) |
Issue |
JiraIssueTracker.getIssue(URL url) |
List<Issue> |
JiraIssueTracker.searchIssuesByFilter(URL filterUrl) |
boolean |
JiraIssueTracker.updateIssue(Issue issue)
Known limitations:
- Jira api does not allow an issue type to be update (WTF?)
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRepositoryService.addCommentToPatch(Patch patch,
String comment) |
protected void |
AbstractRepositoryService.checkHost(URL url) |
Patch |
AbstractRepositoryService.getPatch(URL url) |
List<Patch> |
AbstractRepositoryService.getPatchesAssociatedWith(Issue issue) |
List<Patch> |
AbstractRepositoryService.getPatchesByState(Repository repository,
PatchState state) |
Repository |
AbstractRepositoryService.getRepository(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
GitHubRepositoryService.addCommentToPatch(Patch patch,
String comment) |
void |
GitHubRepositoryService.addLabelToPatch(Patch patch,
String labelName) |
CommitStatus |
GitHubRepositoryService.getCommitStatusFromPatch(Patch patch) |
List<Label> |
GitHubRepositoryService.getLabelsFromPatch(Patch patch) |
List<Label> |
GitHubRepositoryService.getLabelsFromRepository(Repository repository) |
Patch |
GitHubRepositoryService.getPatch(URL url) |
List<Patch> |
GitHubRepositoryService.getPatchesAssociatedWith(Issue issue) |
List<Patch> |
GitHubRepositoryService.getPatchesByState(Repository repository,
PatchState state) |
Repository |
GitHubRepositoryService.getRepository(URL url) |
boolean |
GitHubRepositoryService.hasModifiableLabels(Repository repository) |
void |
GitHubRepositoryService.removeLabelFromPatch(Patch patch,
String name) |
void |
GitHubRepositoryService.setLabelsToPatch(Patch patch,
List<Label> labels) |
| Modifier and Type | Method and Description |
|---|---|
void |
IssueTrackerService.addCommentToIssue(Issue issue,
Comment comment)
Adds a new comment to the specified issue.
|
void |
RepositoryService.addCommentToPatch(Patch patch,
String comment)
Add a
Comment to the specified Patch object, and propagate the changes
to the remote repository. |
void |
RepositoryService.addLabelToPatch(Patch patch,
String labelName)
Attach a label to the specified patch.
|
CommitStatus |
RepositoryService.getCommitStatusFromPatch(Patch patch)
Retrieve the current CI status of the latest commit associated with a given patch.
|
Issue |
IssueTrackerService.getIssue(URL url)
Retrieve an issue object associated with the given
URL. |
List<Label> |
RepositoryService.getLabelsFromPatch(Patch patch)
Retrieve all labels associated with the provided
Patch object. |
List<Label> |
RepositoryService.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
Patch in Repository object. |
Patch |
RepositoryService.getPatch(URL url)
Get the
Patch located at the provided URL. |
List<Patch> |
RepositoryService.getPatchesAssociatedWith(Issue issue)
Retrieve all Patches associated with the provided
Issue object |
List<Patch> |
RepositoryService.getPatchesByState(Repository repository,
PatchState state)
Retrieve all Patches associated with the provided
Repository object, which have a
state that matches the provided PatchState object. |
Repository |
RepositoryService.getRepository(URL url)
Get the repository located at the provided
URL. |
boolean |
RepositoryService.hasModifiableLabels(Repository repository)
Discover if the user logged into this
RepositoryService has the correct permissions to apply/remove
labels to patches in the provided Repository |
boolean |
StreamService.init(Aphrodite aphrodite,
AphroditeConfig config)
Initialize the stream service.
|
void |
RepositoryService.removeLabelFromPatch(Patch patch,
String name)
Delete a label from the provided
Patch object. |
List<Issue> |
IssueTrackerService.searchIssuesByFilter(URL filterUrl)
Return all issues which match the provided filter.
|
void |
RepositoryService.setLabelsToPatch(Patch patch,
List<Label> labels)
Set the labels for the provided
Patch object. |
boolean |
IssueTrackerService.updateIssue(Issue issue)
Update an
Issue at the remote issue tracker service. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JsonStreamService.init(Aphrodite aphrodite,
AphroditeConfig config) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.