Examples of shouldServiceRequest()


Examples of org.sonatype.nexus.proxy.repository.LocalStatus.shouldServiceRequest()

      // with unsupported repo
      throw new IllegalStateException(
          "Repository not supported by automatic routing feature (only Maven2 hosted, proxy and group repositories are supported)");
    }
    final LocalStatus localStatus = mavenRepository.getLocalStatus();
    if (!localStatus.shouldServiceRequest()) {
      throw new IllegalStateException(SimpleFormat.format("Repository out of service '%s'", mavenRepository.getId()));
    }
  }

  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.