Package org.apache.maven.archiva.configuration.functors

Examples of org.apache.maven.archiva.configuration.functors.RepositoryIdListClosure


        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();
    }
View Full Code Here


        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();
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.configuration.functors.RepositoryIdListClosure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.