|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ReturnType
- the type of interface to return after the repository source's configuration is completedpublic static interface Configurator.RepositoryConfigurator<ReturnType>
Interface used to configure a repository source.
Method Summary | |
---|---|
ReturnType |
addRepository(RepositorySource source)
Add a new repository for this configuration. |
Configurator.ChooseClass<RepositorySource,Configurator.RepositoryDetails<ReturnType>> |
addRepository(String id)
Add a new repository for this configuration. |
Method Detail |
---|
Configurator.ChooseClass<RepositorySource,Configurator.RepositoryDetails<ReturnType>> addRepository(String id)
repository
for this configuration. The new repository will have the supplied name,
and if the name of an existing repository is used, this will replace the existing repository configuration.
id
- the id of the new repository that is to be added
IllegalArgumentException
- if the repository name is null, empty, or otherwise invalidaddRepository(RepositorySource)
ReturnType addRepository(RepositorySource source)
repository
for this configuration. The new repository will have the supplied name,
and if the name of an existing repository is used, this will replace the existing repository configuration.
source
- the RepositorySource
instance that should be used
IllegalArgumentException
- if the repository source reference is nulladdRepository(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |