CollectionUtils.forAllDo( config.getNetworkProxies(), addProxyIds );
// Gather Local & Remote Repo Ids.
RepositoryIdListClosure remoteRepoIdList = new RepositoryIdListClosure( new ArrayList() );
RepositoryIdListClosure localRepoIdList = new RepositoryIdListClosure( new ArrayList() );
Closure repoIfClosure = IfClosure.getInstance( RemoteRepositoryPredicate.getInstance(), remoteRepoIdList,
localRepoIdList );
CollectionUtils.forAllDo( config.getRepositories(), repoIfClosure );
this.remoteRepoIdList = remoteRepoIdList.getList();
this.localRepoIdList = localRepoIdList.getList();
}