|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScmRepositoryConfigurator
Configure an SCM repository using release configuration.
Field Summary | |
---|---|
static String |
ROLE
The Plexus role. |
Method Summary | |
---|---|
ScmRepository |
getConfiguredRepository(ReleaseDescriptor releaseDescriptor,
Settings settings)
Construct a configured SCM repository from a release configuration. |
ScmRepository |
getConfiguredRepository(String url,
ReleaseDescriptor releaseDescriptor,
Settings settings)
Construct a configured SCM repository from a release configuration with an overridden base SCM URL. |
ScmProvider |
getRepositoryProvider(ScmRepository repository)
Get the SCM provider used for the given SCM repository. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
ScmRepository getConfiguredRepository(ReleaseDescriptor releaseDescriptor, Settings settings) throws ScmRepositoryException, NoSuchScmProviderException
releaseDescriptor
- the configuration to insert into the repositorysettings
- the settings.xml configuraiton
ScmRepositoryException
- if it is not possible to create a suitable SCM repository
NoSuchScmProviderException
- if the requested SCM provider is not availableScmProvider getRepositoryProvider(ScmRepository repository) throws NoSuchScmProviderException
repository
- the SCM repository
NoSuchScmProviderException
- if the requested SCM provider is not availableScmRepository getConfiguredRepository(String url, ReleaseDescriptor releaseDescriptor, Settings settings) throws ScmRepositoryException, NoSuchScmProviderException
url
- the SCM URL to use instead of the one from the release descriptorreleaseDescriptor
- the configuration to insert into the repositorysettings
- the settings.xml configuraiton
ScmRepositoryException
- if it is not possible to create a suitable SCM repository
NoSuchScmProviderException
- if the requested SCM provider is not available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |