| Modifier and Type | Method and Description |
|---|---|
Repository |
Aphrodite.getRepository(URL url)
Get the repository located at the provided
URL. |
| Modifier and Type | Method and Description |
|---|---|
List<Repository> |
Aphrodite.getDistinctURLRepositoriesByStream(String streamName)
Retrieve all Repositories associated with a given Stream, or an empty lists if no Repositories are associated
with the given streamName.
|
List<Repository> |
Aphrodite.getDistinctURLRepositoriesFromStreams()
Retrieve all unique Repositories that exists across all Streams.
|
| Modifier and Type | Method and Description |
|---|---|
StreamComponent |
Aphrodite.getComponentBy(Repository repository,
Codebase codebase)
Get the StreamComponent which specifies the given repository and codebase.
|
List<Label> |
Aphrodite.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
Patch in Repository 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. |
List<Stream> |
Aphrodite.getStreamsBy(Repository repository,
Codebase codebase)
Find all streams associated with a given repository and codebase.
|
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 |
| Modifier and Type | Method and Description |
|---|---|
Repository |
StreamComponent.getRepository() |
Repository |
Patch.getRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
Patch.setRepository(Repository repository) |
| Constructor and Description |
|---|
Patch(String id,
URL url,
Repository repository,
Codebase codebase,
PatchState state) |
Patch(String id,
URL url,
Repository repository,
Codebase codebase,
PatchState state,
String title,
String body) |
StreamComponent(String name,
Repository repository,
Codebase codebase) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
AbstractRepositoryService.getRepository(URL url) |
| Modifier and Type | Method and Description |
|---|---|
List<Patch> |
AbstractRepositoryService.getPatchesByState(Repository repository,
PatchState state) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
GitHubRepositoryService.getRepository(URL url) |
| Modifier and Type | Method and Description |
|---|---|
List<Label> |
GitHubRepositoryService.getLabelsFromRepository(Repository repository) |
List<Patch> |
GitHubRepositoryService.getPatchesByState(Repository repository,
PatchState state) |
boolean |
GitHubRepositoryService.hasModifiableLabels(Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
RepositoryService.getRepository(URL url)
Get the repository located at the provided
URL. |
| Modifier and Type | Method and Description |
|---|---|
List<Repository> |
StreamService.getDistinctURLRepositories()
Retrieve all Repositories across all Streams.
|
List<Repository> |
StreamService.getDistinctURLRepositoriesByStream(String streamName)
Retrieve the URLs of all Repositories associated with a given Stream.
|
| Modifier and Type | Method and Description |
|---|---|
StreamComponent |
StreamService.getComponentBy(Repository repository,
Codebase codebase)
Get the StreamComponent which specifies the given repository and codebase.
|
List<Label> |
RepositoryService.getLabelsFromRepository(Repository repository)
Retrieve all labels associated with the provided
Patch in Repository 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. |
List<Stream> |
StreamService.getStreamsBy(Repository repository,
Codebase codebase)
Find all the streams associated to the given repository and codebase
|
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 |
| Modifier and Type | Method and Description |
|---|---|
List<Repository> |
JsonStreamService.getDistinctURLRepositories() |
List<Repository> |
JsonStreamService.getDistinctURLRepositoriesByStream(String streamName) |
| Modifier and Type | Method and Description |
|---|---|
StreamComponent |
JsonStreamService.getComponentBy(Repository repository,
Codebase codebase) |
List<Stream> |
JsonStreamService.getStreamsBy(Repository repository,
Codebase codebase) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.