Package org.sonatype.nexus.proxy.repository

Examples of org.sonatype.nexus.proxy.repository.AbstractShadowRepositoryConfiguration


  private RepositoryBaseResource createShadow(RepositoryTemplate template) {
    RepositoryShadowResource repoRes = new RepositoryShadowResource();

    repoRes.setRepoType("virtual");

    AbstractShadowRepositoryConfiguration cfg =
        (AbstractShadowRepositoryConfiguration) template.getConfigurableRepository().getCurrentCoreConfiguration()
            .getExternalConfiguration().getConfiguration(false);

    repoRes.setSyncAtStartup(cfg.isSynchronizeAtStartup());
    repoRes.setShadowOf(cfg.getMasterRepositoryId());

    return repoRes;
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.proxy.repository.AbstractShadowRepositoryConfiguration

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.