Package com.vaadin.flow.server.frontend
Interface FallibleCommand
- All Known Subinterfaces:
TaskGenerateEndpoint,TaskGenerateOpenAPI
- All Known Implementing Classes:
AbstractTaskClientGenerator,NodeTasks,NodeUpdater,TaskCopyFrontendFiles,TaskCopyLocalFrontendFiles,TaskCopyTemplateFiles,TaskGenerateBootstrap,TaskGenerateFeatureFlags,TaskGenerateIndexHtml,TaskGenerateIndexTs,TaskGeneratePackageJson,TaskGenerateServiceWorker,TaskGenerateTsConfig,TaskGenerateTsDefinitions,TaskGenerateViteDevMode,TaskGenerateWebComponentBootstrap,TaskGenerateWebComponentHtml,TaskInstallFrontendBuildPlugins,TaskRunDevBundleBuild,TaskRunNpmInstall,TaskUpdateImports,TaskUpdatePackages,TaskUpdateSettingsFile,TaskUpdateThemeImport,TaskUpdateVite
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
-
Method Details
-
execute
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
-