Package com.polarion.alm.builder.spi
Interface ISourceRepositoryCreator
public interface ISourceRepositoryCreator
Creator of
ISourceRepository
implementations.- Version:
- $Revision:$ $Date:$
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptionWill create newISourceRepository
instance for given repository.boolean
Return whether for given repository we can createISourceRepository
.
-
Method Details
-
isMyRepository
Return whether for given repository we can createISourceRepository
.- Parameters:
info
- repository info- Returns:
true
if we can createISourceRepository
for given repository- Throws:
IllegalArgumentException
- if info isnull
-
createSourceRepository
Will create newISourceRepository
instance for given repository.It is not specified what happens if user tries to call
createSourceRepository(IRepositoryInfo)
even thoughisMyRepository(IRepositoryInfo)
returnedfalse
.- Parameters:
info
- repository info- Returns:
- new
ISourceRepository
instance - Throws:
IllegalArgumentException
- if info isnull
-