Actions
Task #476
closedConfigurationService - support collections
Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Configuration
Target version:
Start date:
06/01/2017
Due date:
% Done:
100%
Estimated time:
Owner:
Description
A standard requirement is the ability to write a list of values into the configuration. The configuration item usually looks like that:
config=item1,item2,item3
It would be nice to extend the ConfigurationService with a method like (it's just a suggestion)
List<String> getValues(String key, List<String> default);
Things to consider are whether to allow custom separators and whether to trim the resulting items (so this would be also legal "config=item1, item2, item3"). Or maybe don't put it into the ConfigurationService and create a custom object for this kind of operations.
Related issues
Actions