Package com.vaadin.flow.server.frontend
Class NodeTasks
- java.lang.Object
-
- com.vaadin.flow.server.frontend.NodeTasks
-
- All Implemented Interfaces:
FallibleCommand
public class NodeTasks extends Object implements FallibleCommand
An executor that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run. It can chain a set of task to run.For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
-
-
Constructor Detail
-
NodeTasks
public NodeTasks(Options options)
Initialize tasks with the given options.- Parameters:
options
- the options
-
-
Method Detail
-
execute
public void execute() throws ExecutionFailedException
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.
- Specified by:
execute
in interfaceFallibleCommand
- Throws:
ExecutionFailedException
- if there is an execution error
-
-