Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Ability to override List/Set/Map property #3

Open
szpak opened this issue Oct 6, 2014 · 4 comments
Open

Ability to override List/Set/Map property #3

szpak opened this issue Oct 6, 2014 · 4 comments

Comments

@szpak
Copy link
Contributor

szpak commented Oct 6, 2014

It would be nice to be able to override List/Set/Map properties.

@bmuschko
Copy link
Contributor

bmuschko commented Oct 9, 2014

@szpak Would you mind providing test cases for this as well?

@szpak
Copy link
Contributor Author

szpak commented Oct 17, 2014

What encoding format did you think about? Groovy like?

-Doverride.extension.myList="['foo','bar']"
-Doverride.extension.myMap="[foo:'bar']"

@bmuschko
Copy link
Contributor

I'd say yes. The square brackets should probably be optional and the single quotes omitted. The tricky part is to convert the values to the correct type - especially if the variable definition is declared with def.

@jmcgarr
Copy link

jmcgarr commented Apr 18, 2017

We are doing some housecleaning and we consider this plugin "feature complete". Since this is an enhancement, we will accept PR's but won't be able to prioritize this enhancement.

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

No branches or pull requests

3 participants