You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2014/09/14 07:16:34 UTC

[jira] [Resolved] (LOG4J2-825) Add basic validation annotations for plugin builders

     [ https://issues.apache.org/jira/browse/LOG4J2-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker resolved LOG4J2-825.
--------------------------------
       Resolution: Implemented
    Fix Version/s: 2.1

Implemented in latest master. Will close after some more testing.

> Add basic validation annotations for plugin builders
> ----------------------------------------------------
>
>                 Key: LOG4J2-825
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-825
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Plugins
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>             Fix For: 2.1
>
>
> As part of improving the API for LOG4J2-653, and as mentioned on the mailing lists in the past, it would be great to have some basic annotations for automatic validation of plugin configurations. For instance, an annotation to mark a parameter/field as required, or have a min/max size, etc.
> Ideally, this API should be somewhat flexible like the Java EE bean validation API. However, this API should be far more lightweight due to its limited need for equivalent functionality. It should probably resemble the plugin visitors API, and may in fact be implemented as a plugin visitor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org