Skip navigation links
A B C D E F G H I L M P R S V 

A

AbstractCopyResourcesStep - Class in com.vaadin.flow.migration
Step which copies resources from provided collection of directories to the target folder.
AbstractCopyResourcesStep(File, File[], AbstractCopyResourcesStep.FileTreeHandler) - Constructor for class com.vaadin.flow.migration.AbstractCopyResourcesStep
Creates a new instance.
AbstractCopyResourcesStep.FileTreeHandler - Interface in com.vaadin.flow.migration
 
AnnotationsRewriteStrategy - Enum in com.vaadin.flow.migration
The strategy to rewrite HtmlImport/StyleSheet annotations.

B

BOWER_COMPONENTS - Static variable in class com.vaadin.flow.migration.AbstractCopyResourcesStep
 
build() - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Builds the immutable configuration based on the builder.
Builder(File) - Constructor for class com.vaadin.flow.migration.MigrationConfiguration.Builder
Creates a new instance of the builded with provided baseDir.

C

ClassPathIntrospector - Class in com.vaadin.flow.migration
Abstract class which allows to find classes in the project classpath.
ClassPathIntrospector(ClassFinder) - Constructor for class com.vaadin.flow.migration.ClassPathIntrospector
Creates a new instance of class.
ClassPathIntrospector(ClassPathIntrospector) - Constructor for class com.vaadin.flow.migration.ClassPathIntrospector
Create a new instance but reusing the instrospector.
com.vaadin.flow.migration - package com.vaadin.flow.migration
 
com.vaadin.flow.server.scanner - package com.vaadin.flow.server.scanner
 
com.vaadin.flow.utils - package com.vaadin.flow.utils
 
convertToUrl(File) - Static method in class com.vaadin.flow.utils.FlowFileUtils
Converts File to URL wrapping checked exception.
CopyMigratedResourcesStep - Class in com.vaadin.flow.migration
Copies migrated files preserving their hierarchy and modifies import path if necessary.
CopyMigratedResourcesStep(File, File, Set<String>) - Constructor for class com.vaadin.flow.migration.CopyMigratedResourcesStep
Create a new instance of copy migrated files step.
copyResources() - Method in class com.vaadin.flow.migration.AbstractCopyResourcesStep
Copies resources.
copyResources() - Method in class com.vaadin.flow.migration.CopyResourcesStep
 
CopyResourcesStep - Class in com.vaadin.flow.migration
Step which copies resources from provided collection of directories to the target folder.
CopyResourcesStep(File, File[]) - Constructor for class com.vaadin.flow.migration.CopyResourcesStep
Creates a new instance.
createJsons(List<String>) - Method in class com.vaadin.flow.migration.CreateMigrationJsonsStep
Creates bower.json and package.json files filled with paths provided by the paths parameter.
CreateMigrationJsonsStep - Class in com.vaadin.flow.migration
Step which creates bower.json and package.json files.
CreateMigrationJsonsStep(File) - Constructor for class com.vaadin.flow.migration.CreateMigrationJsonsStep
Creates a new instance.

D

doInvokeAnnotationMethod(Annotation, String) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Get the value of the method methodName from the target annotation.
doMigration(MigrationConfiguration) - Method in class com.vaadin.flow.migration.MigrationTool
Runs migration using the provided configuration.

E

executeProcess(List<String>, String, String, String) - Method in class com.vaadin.flow.migration.Migration
 

F

FlowFileUtils - Class in com.vaadin.flow.utils
Util methods for files manipulation.
forceMkdir(File) - Static method in class com.vaadin.flow.utils.FlowFileUtils
A FileUtils.forceMkdir(File) wrapper that handles IOException.

G

getAnnotatedClasses(Class<? extends Annotation>) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Gets the classes annotated with the given annotationInProjectContext annotation.
getAnnotatedClasses(Class<? extends Annotation>) - Method in class com.vaadin.flow.server.scanner.ReflectionsClassFinder
 
getAnnotationRewriteStrategy() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the annotation rewrite strategy.
getBaseDirectory() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the base directory
getBowerComponents() - Method in class com.vaadin.flow.migration.CopyResourcesStep
Gets imported bower components found in copied resources.
getClassFinder() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the class finder.
getCompiledClassDirectory() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the compiled classes directory.
getJavaSourceDirectories() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the java source roots.
getRelativePath(Path, Path) - Static method in class com.vaadin.flow.migration.AbstractCopyResourcesStep
Constructs a relative path between the source path and a against.
getResource(String) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Returns a resource URL given a file name.
getResource(String) - Method in class com.vaadin.flow.server.scanner.ReflectionsClassFinder
 
getResourceDirectories() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the resource directories.
getSubtypes(Class<?>) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Gets the subtypes of the given type.
getSubTypesOf(Class<T>) - Method in class com.vaadin.flow.server.scanner.ReflectionsClassFinder
 
getTargetDirectory() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the target directory.
getTempMigrationFolder() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Gets the migration folder.

H

handle(Path, Path) - Method in interface com.vaadin.flow.migration.AbstractCopyResourcesStep.FileTreeHandler
Handles a source file or folder.

I

invokeAnnotationMethod(Annotation, String) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Get the value of the method methodName from the target annotation.
isIgnoreModulizerErrors() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Checks whether Modulizer errors should be ignored.
isKeepOriginalFiles() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Checks whether the original resource files should be preserved.
isPnpmEnabled() - Method in class com.vaadin.flow.migration.MigrationConfiguration
Checks whether pnpm tool is enabled or npm should be used instead.

L

loadClass(String) - Method in class com.vaadin.flow.server.scanner.ReflectionsClassFinder
 
loadClassInProjectClassLoader(String) - Method in class com.vaadin.flow.migration.ClassPathIntrospector
Returns the annotation class by its FQN.

M

main(String[]) - Static method in class com.vaadin.flow.migration.MigrationTool
Runs migration tool using command line args.
migrate() - Method in class com.vaadin.flow.migration.Migration
Performs the migration.
Migration - Class in com.vaadin.flow.migration
Migrates resource (template and CSS) files from provided directories and Java source files from V13 to V14.
Migration(MigrationConfiguration) - Constructor for class com.vaadin.flow.migration.Migration
Creates an instance with given configuration to migrate.
MigrationConfiguration - Class in com.vaadin.flow.migration
Configuration for migration.
MigrationConfiguration.Builder - Class in com.vaadin.flow.migration
A builder for MigrationConfiguration.
MigrationFailureException - Exception in com.vaadin.flow.migration
 
MigrationFailureException(String) - Constructor for exception com.vaadin.flow.migration.MigrationFailureException
 
MigrationTool - Class in com.vaadin.flow.migration
Main class which allow to call migration from the command line using arguments.
MigrationTool() - Constructor for class com.vaadin.flow.migration.MigrationTool
 
MigrationToolsException - Exception in com.vaadin.flow.migration
Exception thrown for missing migration tools.
MigrationToolsException(String) - Constructor for exception com.vaadin.flow.migration.MigrationToolsException
Migration tool exception constructor.

P

prepareMigrationDirectory() - Method in class com.vaadin.flow.migration.Migration
Prepare migration by cleaning everything, except if only node_modules exists in the target directory.

R

ReflectionsClassFinder - Class in com.vaadin.flow.server.scanner
A class finder using org.reflections.
ReflectionsClassFinder(URL...) - Constructor for class com.vaadin.flow.server.scanner.ReflectionsClassFinder
Constructor.
rewrite() - Method in class com.vaadin.flow.migration.RewriteLegacyAnnotationsStep
Search for java files in the project and replace HtmlImport to JsModule annotation with updated value.
RewriteLegacyAnnotationsStep - Class in com.vaadin.flow.migration
Rewrites HtmlImport/StyleSheet annotation to corresponding JsModule annotation.
RewriteLegacyAnnotationsStep(File, ClassFinder, Collection<File>) - Constructor for class com.vaadin.flow.migration.RewriteLegacyAnnotationsStep
Creates a new instance using the compiledClassesDir directory (to filter out classes which belongs to project only, not dependencies), class finder instance and collection of project source roots to search Java source files.
runMigration(String[]) - Method in class com.vaadin.flow.migration.MigrationTool
Runs migration tool using command line args.

S

setAnnotationRewriteStrategy(AnnotationsRewriteStrategy) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets the annotation rewrite strategy.
setClassFinder(ClassFinder) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets the class finder instance.
setCompiledClassDirectory(File) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets java binary (compiled) classes directory.
setIgnoreModulizerErrors(boolean) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets whether the build should be considered successful even if there are Modulizer errors.
setJavaSourceRoots(File[]) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets java source roots.
setKeepOriginalFiles(boolean) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets whether the original resources should be preserved.
setPnpmEnabled(boolean) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Enables "pnpm" tool so that it will be used instead of "npm" to install frontend resources.
setResourceDirectories(File[]) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets the resource files directories.
setTargetDirectory(File) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets the target directory where the resource files will be stored after the migration.
setTemporaryMigrationFolder(File) - Method in class com.vaadin.flow.migration.MigrationConfiguration.Builder
Sets temporary migration folder where the migration happens.

V

valueOf(String) - Static method in enum com.vaadin.flow.migration.AnnotationsRewriteStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vaadin.flow.migration.AnnotationsRewriteStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M P R S V 
Skip navigation links

Copyright © 2000–2025 Vaadin Ltd. All rights reserved.