Yeah, you'd use the defaultStringValue. It'll get converted via EnglishEnums.valueOf(), so it's somewhat case-insensitive, too.
On 28 May 2014 06:40, Gary Gregory <[email protected]> wrote: > If I have a type converter for an enum, now do I specify a default value > of that enum in a @PluginAttribute? > > Gary > > -- > E-Mail: [email protected] | [email protected] > Java Persistence with Hibernate, Second > Edition<http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- Matt Sicker <[email protected]>
