We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
public class TaskUpdatePackages extends NodeUpdater
Updates
package.json
by visitingNpmPackage
annotations found in the classpath. It also visits classes annotated withNpmPackage
Since:
2.0
See Also:
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.server.frontend.NodeUpdater
DEP_NAME_FLOW_DEPS, frontDeps, generatedFolder, nodeModulesFolder, npmFolder
-
-
Method Summary
All Methods Modifier and Type Method and Description void
execute()
Runs the given command.
-
Methods inherited from class com.vaadin.flow.server.frontend.NodeUpdater
resolveResource
-
-
-
-
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.
-
-