com.vaadin.flow.server.frontend.scanner.
Class FrontendDependenciesScanner.FrontendDependenciesScannerFactory
- java.lang.Object
-
- com.vaadin.flow.server.frontend.scanner.FrontendDependenciesScanner.FrontendDependenciesScannerFactory
-
Enclosing interface:
public static class FrontendDependenciesScanner.FrontendDependenciesScannerFactory extends Object
Frontend dependencies scanner factory.
Author:
Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description FrontendDependenciesScannerFactory()
-
Method Summary
All Methods Modifier and Type Method Description FrontendDependenciesScanner
createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents)
Produces scanner implementation based on
allDependenciesScan
value.FrontendDependenciesScanner
createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, boolean useV14Bootstrap, FeatureFlags featureFlags)
Produces scanner implementation based on
allDependenciesScan
value.FrontendDependenciesScanner
createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, boolean useV14Bootstrap, FeatureFlags featureFlags, boolean fallback)
Produces scanner implementation based on
allDependenciesScan
value.
-
-
-
Method Detail
-
createScanner
public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents)
Produces scanner implementation based on
allDependenciesScan
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 otherwiseReturns:
a scanner implementation strategy
-
createScanner
public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, boolean useV14Bootstrap, FeatureFlags featureFlags)
Produces scanner implementation based on
allDependenciesScan
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 otherwiseuseV14Bootstrap
- whether we are in legacy V14 bootstrap modefeatureFlags
- available feature flags and their statusReturns:
a scanner implementation strategy
-
createScanner
public FrontendDependenciesScanner createScanner(boolean allDependenciesScan, ClassFinder finder, boolean generateEmbeddableWebComponents, boolean useV14Bootstrap, FeatureFlags featureFlags, boolean fallback)
Produces scanner implementation based on
allDependenciesScan
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 otherwiseuseV14Bootstrap
- whether we are in legacy V14 bootstrap modefeatureFlags
- available feature flags and their statusfallback
- whether FullDependenciesScanner is used as fallbackReturns:
a scanner implementation strategy
-
-