|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.ap.util.Configuration
public class Configuration
Provides access to the processor options supported by the Hibernate Validator annotation processor.
| Field Summary | |
|---|---|
static Diagnostic.Kind |
DEFAULT_DIAGNOSTIC_KIND
The diagnostic kind to be used if no or an invalid kind is given as processor option. |
static String |
DIAGNOSTIC_KIND_PROCESSOR_OPTION
The name of the processor option for setting the diagnostic kind to be used when reporting errors during annotation processing. |
static String |
METHOD_CONSTRAINTS_SUPPORTED_PROCESSOR_OPTION
The name of the processor option for allowing constraints at methods other than getter methods. |
static String |
VERBOSE_PROCESSOR_OPTION
The name of the processor option for activating verbose message reporting. |
| Constructor Summary | |
|---|---|
Configuration(Map<String,String> options,
Messager messager)
|
|
| Method Summary | |
|---|---|
Diagnostic.Kind |
getDiagnosticKind()
Returns the diagnosticKind to be used when reporting failing constraint checks. |
boolean |
isVerbose()
Whether logging information shall be put out in a verbose way or not. |
boolean |
methodConstraintsSupported()
Whether method constraints are allowed at any method ( true) or only
getter methods (false). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DIAGNOSTIC_KIND_PROCESSOR_OPTION
public static final String VERBOSE_PROCESSOR_OPTION
public static final String METHOD_CONSTRAINTS_SUPPORTED_PROCESSOR_OPTION
public static final Diagnostic.Kind DEFAULT_DIAGNOSTIC_KIND
| Constructor Detail |
|---|
public Configuration(Map<String,String> options,
Messager messager)
| Method Detail |
|---|
public Diagnostic.Kind getDiagnosticKind()
public boolean isVerbose()
public boolean methodConstraintsSupported()
true) or only
getter methods (false).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||