public interface StreamService
| Modifier and Type | Method and Description |
|---|---|
StreamComponent |
getComponentBy(Repository repository,
Codebase codebase)
Get the StreamComponent which specifies the given repository and codebase.
|
List<Repository> |
getDistinctURLRepositories()
Retrieve all Repositories across all Streams.
|
List<Repository> |
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(Repository 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 init(Aphrodite aphrodite, AphroditeConfig config) 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<Repository> getDistinctURLRepositories()
List<Repository> getDistinctURLRepositoriesByStream(String streamName)
streamName - the name of the Stream containing the returned repositories.List<Stream> getStreamsBy(Repository repository, Codebase codebase)
repository - the Repository to search against.codebase - the Codebase to search against.Stream objects.StreamComponent getComponentBy(Repository repository, Codebase codebase)
repository - the Repository to be searched against.codebase - the codebase to be searched against.Copyright © 2016 JBoss by Red Hat. All rights reserved.