|
||||||||||
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. |
java.io.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 |
---|
java.io.InputStream getConfigurationStream() throws java.io.IOException
java.io.IOException
- if the file cannot be readvoid updateConfiguration(@NotNull UserConfigurationType newConfigurationType) throws java.io.IOException
newConfigurationType
- new configuration type
java.io.IOException
- If the configuration could not be updatedUserConfigurationType getConfigurationType()
boolean isCustomConfigurationAvailable()
void detectPersistedConfigurationType() throws java.io.IOException
Should be called when it is likely that atlassian-user.xml has been modified.
java.io.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 |