Enrico Stahn
Enrico Stahn

Reputation: 3142

Conditional Configuration Framework

I'm searching for a configuration framework which handles key/values pairs based on conditions. The language and storage type doesn't matter.

Example with background color for Application XYZ:

The developer just ask for something like "application.background.color" and this should return the correct value based on the given conditions.

Upvotes: 2

Views: 166

Answers (1)

Nerdfest
Nerdfest

Reputation: 1685

In Java, have a look at Commons Configuration. You will need to extend it somewhat, but you should be able to use the existing frameworks variable expansion, providing you can define your available context elements in advance.

Upvotes: 1

Related Questions