Package com.vaadin.flow.server.frontend
Interface FallibleCommand
-
- All Known Subinterfaces:
TaskGenerateEndpoint,TaskGenerateHilla,TaskGenerateOpenAPI
- All Known Implementing Classes:
AbstractTaskClientGenerator,NodeTasks,NodeUpdater,TaskCopyFrontendFiles,TaskCopyLocalFrontendFiles,TaskCopyTemplateFiles,TaskGenerateBootstrap,TaskGenerateFeatureFlags,TaskGenerateIndexHtml,TaskGenerateIndexTs,TaskGeneratePackageJson,TaskGeneratePWAIcons,TaskGenerateServiceWorker,TaskGenerateTsConfig,TaskGenerateTsDefinitions,TaskGenerateViteDevMode,TaskGenerateWebComponentBootstrap,TaskGenerateWebComponentHtml,TaskInstallWebpackPlugins,TaskNotifyWebpackConfExistenceWhileUsingVite,TaskRunNpmInstall,TaskUpdateImports,TaskUpdatePackages,TaskUpdateSettingsFile,TaskUpdateThemeImport,TaskUpdateVite,TaskUpdateWebpack
public interface FallibleCommandA 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 Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()Runs the given command.
-
-
-
Method Detail
-
execute
void execute() throws ExecutionFailedExceptionRuns 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
-
-