public interface UserConfigurationService
Modifier and Type | Method and Description |
---|---|
void |
changeUserConfigurationType(UserConfigurationType configurationType,
Properties crowdProperties)
Changes the application to use a new configuration at runtime.
|
Properties |
getCrowdProperties()
Returns Crowd related properties.
|
UserConfigurationType |
getUserConfigurationType()
Returns Atlassian User configuration type that is currently active.
|
boolean |
isCrowdPropertyWritable(String crowdPropertyName)
Returns true if the given Crowd property can be modified.
|
boolean |
isCustomConfigurationAvailable()
Returns true if a custom Atlassian User configuration file is available.
|
void |
reloadUserConfiguration()
Reloads user configuration using the current configuration.
|
UserConfigurationType getUserConfigurationType()
void changeUserConfigurationType(@NotNull UserConfigurationType configurationType, @Nullable Properties crowdProperties) throws IOException, com.atlassian.user.configuration.ConfigurationException
configurationType
- new configuration type to usecrowdProperties
- new crowd configuration properties to useIOException
- if the configuration could not be updatedcom.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loadedvoid reloadUserConfiguration() throws com.atlassian.user.configuration.ConfigurationException, IOException
IOException
- if the configuration could not be loadedcom.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loadedboolean isCustomConfigurationAvailable()
Properties getCrowdProperties()
boolean isCrowdPropertyWritable(@NotNull String crowdPropertyName)
crowdPropertyName
- Crowd property nameCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.