/** * Sets or overrides the list of disabled resolvers. * * @param disabledResolvers List of class names of RepositoryResolver implementations that * should be disabled. * <p> * Example: "org.locationtech.geogig.repository.impl.FileRepositoryResolver" to disable * the File/Directory resolver for URI scheme "file". */ @VisibleForTesting static void setDisabledResolvers(List<String> disabledResolvers) { // clear any existing disabled resolvers clearDisabledResolvers(); if (disabledResolvers != null) { DISABLED_RESOLVERS.addAll(disabledResolvers); } }
/** * Sets or overrides the list of disabled resolvers. * * @param disabledResolvers List of class names of RepositoryResolver implementations that * should be disabled. * <p> * Example: "org.locationtech.geogig.repository.impl.FileRepositoryResolver" to disable * the File/Directory resolver for URI scheme "file". */ @VisibleForTesting static void setDisabledResolvers(List<String> disabledResolvers) { // clear any existing disabled resolvers clearDisabledResolvers(); if (disabledResolvers != null) { DISABLED_RESOLVERS.addAll(disabledResolvers); } }
/** * Clears the list of disabled RepositoryResolvers. */ public static void clearDisabledResolverList() { RepositoryResolver.clearDisabledResolvers(); } }