Package com.vaadin.flow.server.frontend
Class TaskUpdatePackages
- java.lang.Object
-
- com.vaadin.flow.server.frontend.NodeUpdater
-
- com.vaadin.flow.server.frontend.TaskUpdatePackages
-
- All Implemented Interfaces:
FallibleCommand
public class TaskUpdatePackages extends NodeUpdater
Updatespackage.json
by visitingNpmPackage
annotations found in the classpath. It also visits classes annotated withNpmPackage
.For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
VAADIN_APP_PACKAGE_HASH
-
Fields inherited from class com.vaadin.flow.server.frontend.NodeUpdater
buildDir, DEP_NAME_FLOW_DEPS, DEP_NAME_FLOW_JARS, frontDeps, GENERATED_PREFIX, generatedFolder, nodeModulesFolder, npmFolder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Runs the given command.-
Methods inherited from class com.vaadin.flow.server.frontend.NodeUpdater
generateVersionsJson, getPackageJsonFile, getPackageLockFile
-
-
-
-
Field Detail
-
VAADIN_APP_PACKAGE_HASH
protected static final String VAADIN_APP_PACKAGE_HASH
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute()
Description copied from interface:FallibleCommand
Runs the given command.If execution fails then the command may throw an exception which may give a message and a cause of the failure.
-
-