mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-19 13:10:20 +00:00
[AB-149] adding command to reset configuration to default values
removing listener to create system config instances adding default value retrieval to appropriate places making config key handling case insensitive changing exp multiplier to double value refactoring experience service bean test
This commit is contained in:
@@ -17,5 +17,7 @@ public interface ConfigService {
|
||||
void setStringValue(String name, Long serverId, String value);
|
||||
boolean configurationIsValid(String name, String value);
|
||||
AConfig getFakeConfigForValue(String name, String value);
|
||||
|
||||
void resetConfigForKey(String configKey, Long serverId);
|
||||
void resetConfigForFeature(String featureKey, Long serverId);
|
||||
void resetConfigForServer(Long serverId);
|
||||
}
|
||||
|
||||
@@ -19,4 +19,6 @@ public interface ConfigManagementService {
|
||||
AConfig setDoubleValue(Long serverId, String name, Double value);
|
||||
AConfig setLongValue(Long serverId, String name, Long value);
|
||||
AConfig setStringValue(Long serverId, String name, String value);
|
||||
void deleteConfig(Long serverId, String name);
|
||||
void deleteConfigForServer(Long serverId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user