EnumMessageSourceResolvable Grails Plugin

0 vote
Dependency :
compile ":enum-message-source-resolvable:1.0.0"

Documentation Source Issues

Summary

Adds an enumeration usable on Enums to easy add and implement the MessageSourceResolvable interface

Installation

This plugin is deprecated, because it has got a new name! The new plugin is named I18n-enums. The annotation has changed to @I18nEnum and the package structure has changed as well. Sorry for the inconvenience this may cause
compile ':enum-message-source-resolvable:1.x'

Deprecated (read: Don't use!):

grails install-plugin enum-message-source-resolvable

Description

Changes

Deprecated

Please use the I18n-enums instead. It does the same, but has a simpler name and package structure.

v1.0.0

Now support configuration in Config.groovy - see documentation below

v0.9.7

A large rewrite of the plugin. One new DefaultNameCase enum value: ALL_CAPS, will remove underscores in the enumeration and will capitalize each word. The EnumSourceResolvableTransformation now delegates all work to the EnumResourceResolvableHelper and the helper will (in the next release) be configurable from Config.groovy
The package name for the annotation has changed from
dk.glasius.annotations
to
grails.plugin.enummessagesourceresolvable.annotations

v0.9.5

Now you can make your own implementations of one or more of the methods in the MessageSourceResolvable interface. You still do not have to implement MessageSourceResolvable, just implement the methods getDefaultMessage(), getCodes() and getArguments()

Documentation

Now fully documented here: I18n-enums instead