Class ConfigurationRepository
java.lang.Object
org.sonarsource.sonarlint.core.repository.config.ConfigurationRepository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddOrReplace
(ConfigurationScope configScope, BindingConfiguration bindingConfig) getBindingConfiguration
(String configScopeId) getBoundScope
(String configScopeId) getBoundScopesToConnection
(String connectionId) getBoundScopesToConnectionAndSonarProject
(String connectionId, String projectKey) getConfigurationScope
(String configScopeId) getConfiguredBinding
(String configScopeId) getEffectiveBinding
(String configScopeId) getEffectiveBindingOrThrow
(String configScopeId) getSonarProjectsUsedForConnection
(String connectionId) Return the set of Sonar Project keys used in at least one binding for the given connection.boolean
isLeafConfigScope
(String configScopeId) removeBindingForConnection
(String connectionId) void
updateBinding
(String configScopeId, BindingConfiguration bindingConfig)
-
Constructor Details
-
ConfigurationRepository
public ConfigurationRepository()
-
-
Method Details
-
addOrReplace
public ConfigurationScope addOrReplace(ConfigurationScope configScope, BindingConfiguration bindingConfig) -
remove
-
removeBindingForConnection
-
updateBinding
-
getConfigScopeIds
-
getBindingConfiguration
-
getEffectiveBinding
-
getEffectiveBindingOrThrow
-
getConfiguredBinding
-
getLeafConfigScopeIds
-
isLeafConfigScope
-
getConfigurationScope
-
getAllBoundScopes
-
getAllBindableUnboundScopes
-
getBoundScope
-
getBoundScopesToConnectionAndSonarProject
public Collection<BoundScope> getBoundScopesToConnectionAndSonarProject(String connectionId, String projectKey) -
getBoundScopesToConnection
-
getSonarProjectsUsedForConnection
Return the set of Sonar Project keys used in at least one binding for the given connection. -
getBoundScopeByConnectionAndSonarProject
-