[jboss-as7-dev] node and operation property constraints description
Alexey Loubyansky
alexey.loubyansky at redhat.com
Fri Jul 8 08:48:56 EDT 2011
So, how do you feel about extending property description in the model to
include optional info such as:
- value set, i.e. an enum of allowed values, e.g. for transaction
isolation, etc;
- dependency on another property, e.g. exception-sorter-properties
assumes that exception-sorter-class-name is specified;
- properties choice, e.g. driver-class and driver-name, one excludes the
other;
- property value set restricted by the existing values of some other
properties, e.g. driver-name can take values from the registered jdbc
drivers.
I actually did a simple prototype which includes all of the above except
the last one
https://github.com/aloubyansky/jboss-as/commit/833934db69bec304ff37b29188dff00fb8eff3e6
It's obviously not the best way of doing it but just to give an idea.
This will help with tab-completion in cli and perhaps other tools too.
Thanks,
Alexey
More information about the jboss-as7-dev
mailing list