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 newISourceRepositoryinstance for given repository.booleanReturn whether for given repository we can createISourceRepository.
-
Method Details
-
isMyRepository
Return whether for given repository we can createISourceRepository.- Parameters:
info- repository info- Returns:
trueif we can createISourceRepositoryfor given repository- Throws:
IllegalArgumentException- if info isnull
-
createSourceRepository
Will create newISourceRepositoryinstance 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
ISourceRepositoryinstance - Throws:
IllegalArgumentException- if info isnull
-