Class ScmStubDownloaderBuilder

    • Constructor Detail

      • ScmStubDownloaderBuilder

        public ScmStubDownloaderBuilder()
    • Method Detail

      • isProtocolAccepted

        public static boolean isProtocolAccepted​(String url)
        Does any of the accepted protocols matches the URL of the repository.
        Parameters:
        url - - of the repository
        Returns:
        true if the protocol is accepted
      • resolve

        public org.springframework.core.io.Resource resolve​(String location,
                                                            org.springframework.core.io.ResourceLoader resourceLoader)
        Specified by:
        resolve in interface org.springframework.core.io.ProtocolResolver
        Specified by:
        resolve in interface StubDownloaderBuilder