|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserConfigurationService
Provides services for dynamically changing the behaviour of Atlassian User library.
Method Summary | |
---|---|
void |
changeUserConfigurationType(UserConfigurationType configurationType,
java.util.Properties crowdProperties)
Changes the application to use a new configuration at runtime. |
java.util.Properties |
getCrowdProperties()
Returns Crowd related properties. |
UserConfigurationType |
getUserConfigurationType()
Returns Atlassian User configuration type that is currently active. |
boolean |
isCrowdPropertyWritable(java.lang.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. |
Method Detail |
---|
UserConfigurationType getUserConfigurationType()
void changeUserConfigurationType(@NotNull UserConfigurationType configurationType, @Nullable java.util.Properties crowdProperties) throws java.io.IOException, com.atlassian.user.configuration.ConfigurationException
configurationType
- new configuration type to usecrowdProperties
- new crowd configuration properties to use
java.io.IOException
- if the configuration could not be updated
com.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loadedvoid reloadUserConfiguration() throws com.atlassian.user.configuration.ConfigurationException, java.io.IOException
java.io.IOException
- if the configuration could not be loaded
com.atlassian.user.configuration.ConfigurationException
- if the configuration could not be loadedboolean isCustomConfigurationAvailable()
java.util.Properties getCrowdProperties()
boolean isCrowdPropertyWritable(@NotNull java.lang.String crowdPropertyName)
crowdPropertyName
- Crowd property name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |