com.vaadin.flow.server.frontend.
Interface FallibleCommand
-
All Known Subinterfaces:
All Known Implementing Classes:
AbstractTaskClientGenerator, NodeTasks, NodeUpdater, TaskCopyFrontendFiles, TaskCopyLocalFrontendFiles, TaskCopyTemplateFiles, TaskGenerateBootstrap, TaskGenerateFusionImpl, TaskGenerateIndexHtml, TaskGenerateIndexTs, TaskGenerateOpenAPIImpl, TaskGeneratePackageJson, TaskGenerateServiceWorker, TaskGenerateTsConfig, TaskGenerateTsDefinitions, TaskGenerateViteDevMode, TaskInstallWebpackPlugins, TaskRunNpmInstall, TaskUpdateImports, TaskUpdatePackages, TaskUpdateSettingsFile, TaskUpdateThemeImport, TaskUpdateVite, TaskUpdateWebpack
public interface FallibleCommand
A generic command which may fail.
Note that this interface is not serializable and should not be used in a web application.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method and Description void
execute()
Runs the given command.
-
-
-
Method Detail
-
execute
void execute() throws ExecutionFailedException
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.
Throws:
ExecutionFailedException
- if there is an execution error
-
-