Package com.vaadin.flow.server.frontend
Class TaskInstallFrontendBuildPlugins
java.lang.Object
com.vaadin.flow.server.frontend.TaskInstallFrontendBuildPlugins
- All Implemented Interfaces:
FallibleCommand
Task that installs any Flow frontend plugins into node_modules/@vaadin for
use with frontend compilation.
Plugins are copied to {build directory}/plugins and linked to
@vaadin/{plugin name} in node_modules by using (p)npm install.
For internal use only. May be renamed or removed in a future release.
-
Constructor Summary
ConstructorsConstructorDescriptionTaskInstallFrontendBuildPlugins(Options options) Copy Flow frontend plugins intoPLUGIN_TARGETunder the build directory. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.server.frontend.FallibleCommand
setGeneratedFileSupport
-
Constructor Details
-
TaskInstallFrontendBuildPlugins
Copy Flow frontend plugins intoPLUGIN_TARGETunder the build directory.- Parameters:
options- the task options
-
-
Method Details
-
execute
public void execute()Description copied from interface:FallibleCommandRuns the given command.If execution fails then the command may throw an exception which may give a message and a cause of the failure.
- Specified by:
executein interfaceFallibleCommand
-