Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.logging.log4j.core.config.plugins.validation.constraints
Annotation Type Required

    @Documented
    @Retention(value=RUNTIME)
    @Target(value={FIELD,PARAMETER})
    @Constraint(value=RequiredValidator.class)
    public @interface Required

Marks a plugin builder field or plugin factory parameter as required.

Since:
  2.1

Optional Element Summary
`String` | `message` The message to be logged if this constraint is violated.

### message

    public abstract String message

  The message to be logged if this constraint is violated. This should normally be overridden.

  Default:
    "The parameter is null"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.