geosolutions-it / geobatch

Open Source GeoSpatial Processing Simplified
GNU General Public License v3.0
22 stars 19 forks source link

Allow implicit Collections #224

Closed etj closed 11 years ago

etj commented 11 years ago

If we have a Collection in a configuration, the collection's items will be wrapped by a container element; This could result in a too much verbose configuration file. We may want to remove the wrapping element. XStream allow this by the putImplicitCollection() method.

etj commented 11 years ago

@Action annotation may be enriched with a

String[] implicitCollections() default {};

attribute.

The collection fields in the configuration class named in the annotation will not have a wrapper element.