Class RepositoryConfigHelper


  • @Internal
    @Deprecated
    public class RepositoryConfigHelper
    extends Object
    Deprecated.
    since 5.14 new repositories will not have this nonsense
    • Method Detail

      • prepareXmlConfiguration

        public static org.apache.commons.configuration.XMLConfiguration prepareXmlConfiguration​(@NotNull
                                                                                                @NotNull Repository repository,
                                                                                                @Nullable
                                                                                                @Nullable WebRepositoryViewer webRepositoryViewer)
        Deprecated.
        Returns:
        newly created configuration object containing repository configuration
      • prepareXmlConfigurationString

        public static String prepareXmlConfigurationString​(@NotNull
                                                           @NotNull Repository repository,
                                                           @Nullable
                                                           @Nullable WebRepositoryViewer webRepositoryViewer)
        Deprecated.
      • getRepositoriesForWorkingDirSelection

        public static Map<Long,​String> getRepositoriesForWorkingDirSelection​(@NotNull
                                                                                   @NotNull ImmutableJob job,
                                                                                   @NotNull
                                                                                   @NotNull VcsRepositoryManager vcsRepositoryManager)
        Deprecated.
        Scans checkout tasks for repositories that define their source directory. If there's at least one such repository and it's not the only repository used in Job it returns map containing possible settings of Job's or Task's working directory root.
        Parameters:
        job -
        Returns: