public interface StreamService
| Modifier and Type | Method and Description |
|---|---|
StreamComponent |
getComponentBy(URI repository,
Codebase codebase)
Get the StreamComponent which specifies the given repository and codebase.
|
List<URI> |
getDistinctURLRepositories()
Retrieve all Repositories across all Streams.
|
List<URI> |
getDistinctURLRepositoriesByStream(String streamName)
Retrieve the URLs of all Repositories associated with a given Stream.
|
Stream |
getStream(String streamName)
Get a specific
Stream object based upon its String name. |
List<Stream> |
getStreams()
Returns all streams discovered by this service.
|
List<Stream> |
getStreamsBy(URI repository,
Codebase codebase)
Find all the streams associated to the given repository and codebase
|
boolean |
init(Aphrodite aphrodite,
AphroditeConfig config)
Initialize the stream service.
|
boolean |
updateStreams()
Trigger for updating streams information.
|
boolean init(Aphrodite aphrodite, AphroditeConfig config) throws NotFoundException
boolean updateStreams()
throws NotFoundException
NotFoundExceptionList<Stream> getStreams()
StreamService, or an empty list if no streams exist.Stream getStream(String streamName)
Stream object based upon its String name.streamName - the name of the Stream to be returned.Stream object which corresponds to the specified streamName
if it exists, otherwise null.List<URI> getDistinctURLRepositories()
List<URI> getDistinctURLRepositoriesByStream(String streamName)
streamName - the name of the Stream containing the returned repositories.List<Stream> getStreamsBy(URI repository, Codebase codebase)
repository - the Repository to search against.codebase - the Codebase to search against.Stream objects.StreamComponent getComponentBy(URI repository, Codebase codebase)
repository - the Repository to be searched against.codebase - the codebase to be searched against.Copyright © 2017 JBoss by Red Hat. All rights reserved.