|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserConfigurationPersister
Provides functionality for working with Atlassian User library configuration.
Method Summary | |
---|---|
void |
detectPersistedConfigurationType()
Detects the persisted configuration type. |
InputStream |
getConfigurationStream()
Returns the active configuration. |
UserConfigurationType |
getConfigurationType()
Returns the current configuration type |
boolean |
isCustomConfigurationAvailable()
Returns true if a custom Atlassian User configuration file is available. |
void |
updateConfiguration(UserConfigurationType newConfigurationType)
Updates configuration to the given configuration type. |
Method Detail |
---|
InputStream getConfigurationStream() throws IOException
IOException
- if the file cannot be readvoid updateConfiguration(@NotNull UserConfigurationType newConfigurationType) throws IOException
newConfigurationType
- new configuration type
IOException
- If the configuration could not be updatedUserConfigurationType getConfigurationType()
boolean isCustomConfigurationAvailable()
void detectPersistedConfigurationType() throws IOException
Should be called when it is likely that atlassian-user.xml has been modified.
IOException
- if the persistent configuration could not be read
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |