Class BaseVcsRootConverter

    • Constructor Detail

      • BaseVcsRootConverter

        protected BaseVcsRootConverter()
      • BaseVcsRootConverter

        protected BaseVcsRootConverter​(String name)
    • Method Detail

      • convertDB

        public void convertDB​(DBFunctions conn)
      • convertRootProperties

        protected abstract Map<String,​String> convertRootProperties​(@NotNull
                                                                          String vcsName,
                                                                          @NotNull
                                                                          Map<String,​String> original)
        Converts properties of the vcs root
        Parameters:
        vcsName - name of the vcs support
        original - properties of the vcs root
        Returns:
      • supports

        protected abstract boolean supports​(@NotNull
                                            String vcsName)
        Return true if converter can work with properties of the specified vcs support
        Parameters:
        vcsName - name of the vcs support
        Returns:
      • readParameters

        @NotNull
        public static Map<String,​String> readParameters​(@NotNull
                                                              org.jdom.Element parametersElement)