Examples of validateStorageUrl()


Examples of org.sonatype.nexus.proxy.storage.local.LocalRepositoryStorage.validateStorageUrl()

    }

    LocalRepositoryStorage ls = getLocalRepositoryStorage(repo.getId(), repo.getLocalStorage().getProvider());

    try {
      ls.validateStorageUrl(localUrl);

      if (!usingDefaultLocalUrl) {
        repo.getLocalStorage().setUrl(localUrl);
      }
View Full Code Here

Examples of org.sonatype.nexus.proxy.storage.remote.RemoteRepositoryStorage.validateStorageUrl()

                  repo.getRemoteStorage().getProvider());

          // detect do we really need to set remote storage
          if (oldRemoteStorage == null || oldRemoteStorage != configRemoteStorage) {
            // validate the remoteUrl with new remote storage
            configRemoteStorage.validateStorageUrl(repo.getRemoteStorage().getUrl());

            // set the chosen remote storage
            prepository.setRemoteStorage(configRemoteStorage);
            // mark remote storage context dirty, if applicable
            final RemoteStorageContext ctx = prepository.getRemoteStorageContext();
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.