public interface TeamConfigPersistenceService
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Deletes the team configuration from a persistence storage.
|
TeamConfig<SystemConfigReq> |
read()
Get the team configuration from a persistence storage.
|
void |
registerListener(TeamConfigListener lis)
Register for team config changes
|
void |
unregisterListener(TeamConfigListener lis)
Unregister for team config changes
|
boolean |
write(TeamConfig<SystemConfigReq> teamConfig)
Writes the team configuration on to a persistence storage.
|
boolean write(TeamConfig<SystemConfigReq> teamConfig) throws IOException
teamConfig - team configurationtrue if able to store the configuration otherwise falseIOException - if write to file failsTeamConfig<SystemConfigReq> read() throws IOException
IOException - if failed to read from fileboolean delete()
true if file gets deleted otherwise falsevoid registerListener(TeamConfigListener lis)
lis - listenervoid unregisterListener(TeamConfigListener lis)
lis - listenerCopyright © 2014. All Rights Reserved.