class MultiRepositoryManager {

    public List<RepositoryProperties> getRepositoriesAsList() {
        IRepository repository = RepositoryFactory.getRepository();
        if (repository instanceof MultiRepository) {
            return ((MultiRepository) repository).getRepositoriesFromFile();
        }
        return Collections.emptyList();
    }

}