Class LoadSettingsConfig
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.projects.LoadSettingsConfig
-
public class LoadSettingsConfig extends Object
Various options for loading settings from disk
-
-
Constructor Summary
Constructors Constructor Description LoadSettingsConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<String,SVcsRoot>
getVcsRootsProvider()
boolean
isIgnoreUnknownVcsRoots()
Returns true if references to VCS roots with unknown extId in buildType/template should be ignored as if VCS root is not attachedboolean
isValidate()
Returns true if config should be validated according to xml schema for settingsvoid
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.void
setValidate(boolean validate)
Configures whether the config should be validated according to xml schema for settings.void
setVcsRootsProvider(Function<String,SVcsRoot> vcsRootsProvider)
-
-
-
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)
-
-