Class LoadSettingsConfig


  • public class LoadSettingsConfig
    extends Object
    Various options for loading settings from disk
    • Constructor Detail

      • LoadSettingsConfig

        public LoadSettingsConfig()
    • Method Detail

      • isValidate

        public boolean isValidate()
        Returns true if config should be validated according to xml schema for settings
        Returns:
        see above
      • setValidate

        public void setValidate​(boolean validate)
        Configures whether the config should be validated according to xml schema for settings. By default configs are validated.
        Parameters:
        validate - run schema validation
      • isIgnoreUnknownVcsRoots

        public boolean isIgnoreUnknownVcsRoots()
        Returns true if references to VCS roots with unknown extId in buildType/template should be ignored as if VCS root is not attached
        Returns:
        see above
      • setIgnoreUnknownVcsRoots

        public void setIgnoreUnknownVcsRoots​(boolean ignoreUnknownVcsRoots)
        When set to true references to VCS roots with unknown extIds will be ignored in buildTypes/templates as if such root is not attached. By default set to false and loader throws an error in case of unknown root reference
        Parameters:
        ignoreUnknownVcsRoots - whether errors should be ignored
      • setVcsRootsProvider

        public void setVcsRootsProvider​(@NotNull
                                        Function<String,​SVcsRoot> vcsRootsProvider)