Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writeable configuration values #89

Open
mkarg opened this issue Sep 9, 2018 · 1 comment
Open

Writeable configuration values #89

mkarg opened this issue Sep 9, 2018 · 1 comment

Comments

@mkarg
Copy link
Member

mkarg commented Sep 9, 2018

In case an application wants to provide an integrated feature (e. g. "edit" button in the GUI) to edit configuration values, it would be great to have support for writeable configuration values (possibly in a future version of this API).

@struberg
Copy link
Contributor

I think this is not a core functionality of the ConfigJSR itself.

It is perfectly possible to register a custon ConfigSource which can do that for you.
We even built such a thing for the TCK of the ConfigJSR. Feel free to just pull it over to your project. It's ALv2 licensed, so no issue.
https://github.com/eclipse/ConfigJSR/blob/master/tck/src/main/java/org/eclipse/configjsr/configsources/ConfigurableConfigSource.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants