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

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


        return repoConfig.getName();
    }

    private void updateRepositoryMap()
    {
        RepositoryConfigurationToMapClosure repoMapClosure = new RepositoryConfigurationToMapClosure();
        Closure localRepoMap = IfClosure.getInstance( LocalRepositoryPredicate.getInstance(), repoMapClosure );
        CollectionUtils.forAllDo( configuration.getConfiguration().getRepositories(), localRepoMap );

        synchronized ( this.repositoryMap )
        {
            this.repositoryMap.clear();
            this.repositoryMap.putAll( repoMapClosure.getMap() );
        }
    }
View Full Code Here


        return repoConfig.getName();
    }

    private void updateRepositoryMap()
    {
        RepositoryConfigurationToMapClosure repoMapClosure = new RepositoryConfigurationToMapClosure();
        Closure localRepoMap = IfClosure.getInstance( LocalRepositoryPredicate.getInstance(), repoMapClosure );
        CollectionUtils.forAllDo( configuration.getConfiguration().getRepositories(), localRepoMap );
       
        this.repositoryMap.clear();
        this.repositoryMap.putAll( repoMapClosure.getMap() );
    }
View Full Code Here

TOP

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

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.