Class TaskRemoveOldFrontendGeneratedFiles
java.lang.Object
io.jmix.flowui.devserver.frontend.TaskRemoveOldFrontendGeneratedFiles
- All Implemented Interfaces:
com.vaadin.flow.server.frontend.FallibleCommand
public class TaskRemoveOldFrontendGeneratedFiles
extends Object
implements com.vaadin.flow.server.frontend.FallibleCommand
Deletes old files from frontend generated folder.
This task must be performed last, because it will delete all files in frontend generated folder that have not been tracked by the
GeneratedFilesSupport
instance provided by the current
NodeTasks
execution.
For internal use only. May be renamed or removed in a future release.
- See Also:
-
NodeTasks
GeneratedFilesSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
void
setGeneratedFileSupport
(com.vaadin.flow.server.frontend.GeneratedFilesSupport support)
-
Constructor Details
-
TaskRemoveOldFrontendGeneratedFiles
-
-
Method Details
-
execute
public void execute() throws com.vaadin.flow.server.ExecutionFailedException- Specified by:
execute
in interfacecom.vaadin.flow.server.frontend.FallibleCommand
- Throws:
com.vaadin.flow.server.ExecutionFailedException
-
setGeneratedFileSupport
public void setGeneratedFileSupport(com.vaadin.flow.server.frontend.GeneratedFilesSupport support) - Specified by:
setGeneratedFileSupport
in interfacecom.vaadin.flow.server.frontend.FallibleCommand
-