Class MavenSettings.Mirror

  • Enclosing class:
    MavenSettings

    public static class MavenSettings.Mirror
    extends java.lang.Object
    • Constructor Detail

      • Mirror

        public Mirror()
    • Method Detail

      • apply

        public RawRepositories.Repository apply​(RawRepositories.Repository repo)
        Apply this mirror to the supplied Repository. If this mirror is applicable, a Repository with the URL specified in this mirror will be returned. If this mirror is inapplicable, the supplied repository will be returned unmodified.
      • isApplicable

        public boolean isApplicable​(RawRepositories.Repository repo)
        Returns true if this mirror is applicable to the supplied repository, otherwise false.