Package org.sonatype.nexus.proxy.repository

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


      final ArtifactPackagingMapper artifactPackagingMapper, final ProxyRequestFilter proxyRequestFilter)
  {
    this.metadataManager = checkNotNull(metadataManager);
    this.artifactPackagingMapper = checkNotNull(artifactPackagingMapper);
    this.proxyRequestFilter = checkNotNull(proxyRequestFilter);
    this.repositoryKind = new MutableProxyRepositoryKind(this, Arrays.asList(new Class<?>[] { MavenRepository.class }),
        new DefaultRepositoryKind(MavenHostedRepository.class, null), new DefaultRepositoryKind(
            MavenProxyRepository.class, null));
    this.artifactStoreHelper = new ArtifactStoreHelper(this);
  }
View Full Code Here


  @Override
  public RepositoryKind getRepositoryKind() {
    if (repositoryKind == null) {
      // is this class able to be hosted at all?
      repositoryKind =
          new MutableProxyRepositoryKind(this, null, new DefaultRepositoryKind(HostedRepository.class, null),
              new DefaultRepositoryKind(ProxyRepository.class,
                  Arrays.asList(new Class<?>[]{P2ProxyRepository.class})));
    }

    return repositoryKind;
View Full Code Here

  @Override
  public RepositoryKind getRepositoryKind() {
    if (repositoryKind == null) {
      repositoryKind =
          new MutableProxyRepositoryKind(this, null, new DefaultRepositoryKind(HostedRepository.class, null),
              new DefaultRepositoryKind(UpdateSiteProxyRepository.class, null));
    }

    return repositoryKind;
  }
View Full Code Here

TOP

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

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.