Class FrontendDependenciesScanner.FrontendDependenciesScannerFactory
java.lang.Object
com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory
- Enclosing interface:
- FrontendDependenciesScanner
Frontend dependencies scanner factory.
- Author:
- Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents) Deprecated.createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Deprecated.createScanner
(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags, boolean reactEnabled) Produces scanner implementation based onallDependenciesScan
value.createScanner
(Options options) Deprecated.
-
Constructor Details
-
FrontendDependenciesScannerFactory
public FrontendDependenciesScannerFactory()
-
-
Method Details
-
createScanner
@Deprecated public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents) Deprecated.Produces scanner implementation based onallDependenciesScan
value.- Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwise- Returns:
- a scanner implementation strategy
-
createScanner
@Deprecated public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags) Deprecated.Produces scanner implementation based onallDependenciesScan
value.- Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwisefeatureFlags
- available feature flags and their status- Returns:
- a scanner implementation strategy
-
createScanner
public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, FeatureFlags featureFlags, boolean reactEnabled) Produces scanner implementation based onallDependenciesScan
value.- Parameters:
allDependenciesScan
- iftrue
then full classpath scanning strategy is used, otherwise byte scanning strategy is producedfinder
- a class findergenerateEmbeddableWebComponents
- checksWebComponentExporter
classes for dependencies iftrue
, doesn't check otherwisefeatureFlags
- available feature flags and their statusreactEnabled
-true
if react is enabled,true otherwise
- Returns:
- a scanner implementation strategy
-
createScanner
Deprecated.Produces scanner implementation based on the given Options object.- Parameters:
options
- Options to build the scanner from- Returns:
- a scanner implementation strategy
-
createScanner(boolean, ClassFinder, boolean, FeatureFlags, boolean)
instead.