Package com.vaadin.flow.server.frontend
Class TaskGeneratePWAIcons
java.lang.Object
com.vaadin.flow.server.frontend.TaskGeneratePWAIcons
- All Implemented Interfaces:
FallibleCommand
Generates necessary PWA icons.
Icons are processed in parallel but each thread draws, writes the PNG directly to disk, and immediately flushes the scaled image. This avoids accumulating all icon data in memory while still benefiting from concurrent I/O and image scaling.
For internal use only. May be renamed or removed in a future release.
-
Constructor Details
-
TaskGeneratePWAIcons
-
-
Method Details
-
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- Throws:
ExecutionFailedException- if there is an execution error
-