com.vaadin.flow.server.startup.
Class AbstractAnnotationValidator
- java.lang.Object
-
- com.vaadin.flow.server.startup.AbstractAnnotationValidator
-
All Implemented Interfaces:
Direct Known Subclasses:
public abstract class AbstractAnnotationValidator extends Object implements Serializable
Validation class that contains common logic to checks that specific annotations are not configured wrong.
See Also:
-
-
Field Summary
Fields Modifier and Type Field and Description static String
ERROR_MESSAGE_BEGINNING
static String
MIDDLE_ROUTER_LAYOUT
static String
NON_PARENT
static String
NON_PARENT_ALIAS
static String
NON_ROUTER_LAYOUT
-
Constructor Summary
Constructors Constructor and Description AbstractAnnotationValidator()
-
Method Summary
All Methods Modifier and Type Method and Description protected abstract List<Class<?>>
getAnnotations()
Gets the annotations that are subject to validate.
protected void
validateClasses(Collection<Class<?>> classSet)
Validate the correctness of the annotations returned by the
getAnnotations()
method applied to theclassSet
.
-
-
-
Field Detail
-
ERROR_MESSAGE_BEGINNING
public static final String ERROR_MESSAGE_BEGINNING
See Also:
-
NON_PARENT
public static final String NON_PARENT
See Also:
-
NON_PARENT_ALIAS
public static final String NON_PARENT_ALIAS
See Also:
-
NON_ROUTER_LAYOUT
public static final String NON_ROUTER_LAYOUT
See Also:
-
MIDDLE_ROUTER_LAYOUT
public static final String MIDDLE_ROUTER_LAYOUT
See Also:
-
-
Method Detail
-
validateClasses
protected void validateClasses(Collection<Class<?>> classSet)
Validate the correctness of the annotations returned by the
getAnnotations()
method applied to theclassSet
.Parameters:
classSet
- the classes to validate
-
-