Package com.vaadin.flow.plugin.maven
Enum Class FrontendScannerConfig.AnnotationScannerMode
java.lang.Object
java.lang.Enum<FrontendScannerConfig.AnnotationScannerMode>
com.vaadin.flow.plugin.maven.FrontendScannerConfig.AnnotationScannerMode
- All Implemented Interfaces:
Serializable,Comparable<FrontendScannerConfig.AnnotationScannerMode>,Constable
- Enclosing class:
FrontendScannerConfig
public static enum FrontendScannerConfig.AnnotationScannerMode
extends Enum<FrontendScannerConfig.AnnotationScannerMode>
Annotation scanner mode that determines which JARs are scanned for
Vaadin annotations.
- Since:
- 25.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD_ON
Only scan JARs that have the Vaadin-Package-Version manifest attribute. This is the recommended mode for better performance.Application classes (from the output directory) are always scanned regardless of this setting.
-
FULL
Scan all JARs in the classpath. This is the legacy behavior and the default in Vaadin 24.x for backward compatibility.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-