| Modifier and Type | Method and Description |
|---|---|
void |
Aphrodite.addCommentToIssue(Issue issue,
Comment comment)
Adds a new comment to the specified issue.
|
void |
Aphrodite.addCommentToPullRequest(PullRequest pullRequest,
String comment)
Add a
Comment to the specified PullRequest object, and propagate the changes
to the remote repository. |
void |
Aphrodite.addLabelToPullRequest(PullRequest pullRequest,
String labelName)
Attach a label to the specified pull request.
|
CommitStatus |
Aphrodite.getCommitStatusFromPullRequest(PullRequest pullRequest)
Retrieve the current CI status of the latest commit associated with a given pull request.
|
StreamComponent |
Aphrodite.getComponentBy(URI repository,
Codebase codebase)
Deprecated.
|
Issue |
Aphrodite.getIssue(URL url)
Retrieve an issue object associated with the given
URL. |
List<Label> |
Aphrodite.getLabelsFromPullRequest(PullRequest pullRequest)
Retrieve all labels associated with the provided
PullRequest object. |
List<Label> |
Aphrodite.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
PullRequest in Repository object. |
PullRequest |
Aphrodite.getPullRequest(URL url)
Get the
PullRequest located at the provided URL. |
List<PullRequest> |
Aphrodite.getPullRequestsByState(Repository repository,
PullRequestState state)
Retrieve all PullRequests associated with the provided
Repository object, which have a
state that matches the provided PullRequestState object. |
Map<RepositoryType,RateLimit> |
Aphrodite.getRateLimits() |
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 pull request in the provided Repository |
void |
Aphrodite.removeLabelFromPullRequest(PullRequest pullRequest,
String name)
Delete a label from the provided
PullRequest object. |
List<Issue> |
Aphrodite.searchIssuesByFilter(URL filterUrl)
Return all issues which match the provided filter.
|
void |
Aphrodite.setLabelsToPullRequest(PullRequest pullRequest,
List<Label> labels)
Set the labels for the provided
PullRequest 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 |
AbstractIssueTracker.addCommentToIssue(Issue issue,
Comment comment) |
protected void |
AbstractIssueTracker.checkHost(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRepositoryService.addCommentToPullRequest(PullRequest pullRequest,
String comment) |
protected void |
AbstractRepositoryService.checkHost(URL url) |
PullRequest |
AbstractRepositoryService.getPullRequest(URL url) |
List<PullRequest> |
AbstractRepositoryService.getPullRequestsAssociatedWith(Issue issue) |
List<PullRequest> |
AbstractRepositoryService.getPullRequestsByState(Repository repository,
PullRequestState state) |
RateLimit |
AbstractRepositoryService.getRateLimit() |
Repository |
AbstractRepositoryService.getRepository(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
IssueTrackerService.addCommentToIssue(Issue issue,
Comment comment)
Adds a new comment to the specified issue.
|
void |
RepositoryService.addCommentToPullRequest(PullRequest pullRequest,
String comment)
Add a
Comment to the specified PullRequest object, and propagate the changes
to the remote repository. |
void |
RepositoryService.addLabelToPullRequest(PullRequest pullRequest,
String labelName)
Attach a label to the specified pull request.
|
CommitStatus |
RepositoryService.getCommitStatusFromPullRequest(PullRequest pullRequest)
Retrieve the current CI status of the latest commit associated with a given pull request.
|
Issue |
IssueTrackerService.getIssue(URL url)
Retrieve an issue object associated with the given
URL. |
List<Label> |
RepositoryService.getLabelsFromPullRequest(PullRequest pullRequest)
Retrieve all labels associated with the provided
PullRequest object. |
List<Label> |
RepositoryService.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
PullRequest in Repository object. |
PullRequest |
RepositoryService.getPullRequest(URL url)
Get the
PullRequest located at the provided URL. |
List<PullRequest> |
RepositoryService.getPullRequestsAssociatedWith(Issue issue)
Retrieve all pull requests associated with the provided
Issue object |
List<PullRequest> |
RepositoryService.getPullRequestsByState(Repository repository,
PullRequestState state)
Retrieve all pull requests associated with the provided
Repository object, which have a
state that matches the provided PullRequestState object. |
RateLimit |
RepositoryService.getRateLimit() |
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 pull request in the provided Repository |
boolean |
StreamService.init(Aphrodite aphrodite,
AphroditeConfig config)
Initialize the stream service.
|
void |
RepositoryService.removeLabelFromPullRequest(PullRequest pullRequest,
String name)
Delete a label from the provided
PullRequest object. |
List<Issue> |
IssueTrackerService.searchIssuesByFilter(URL filterUrl)
Return all issues which match the provided filter.
|
void |
RepositoryService.setLabelsToPullRequest(PullRequest pullRequest,
List<Label> labels)
Set the labels for the provided
PullRequest object. |
boolean |
IssueTrackerService.updateIssue(Issue issue)
Update an
Issue at the remote issue tracker service. |
boolean |
StreamService.updateStreams()
Trigger for updating streams information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JsonStreamService.init(Aphrodite aphrodite,
AphroditeConfig config) |
boolean |
JsonStreamService.updateStreams() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.