com.vaadin.flow.server.frontend.
Class TaskGenerateWebComponentBootstrap
- java.lang.Object
-
- com.vaadin.flow.server.frontend.AbstractTaskClientGenerator
-
- com.vaadin.flow.server.frontend.TaskGenerateWebComponentBootstrap
-
All Implemented Interfaces:
public class TaskGenerateWebComponentBootstrap extends AbstractTaskClientGenerator
A task for generating the bootstrap file for exported web components
FrontendUtils.WEB_COMPONENT_BOOTSTRAP_FILE_NAME
during `package` Maven goal.For internal use only. May be renamed or removed in a future release.
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description protected String
getFileContent()
Get file content for writing to the generated file.
protected File
getGeneratedFile()
Get the generated file where content will be written.
protected boolean
shouldGenerate()
Check if it should generate the file or not.
-
Methods inherited from class com.vaadin.flow.server.frontend.AbstractTaskClientGenerator
execute
-
-
-
-
Method Detail
-
getFileContent
protected String getFileContent()
Description copied from class:
AbstractTaskClientGenerator
Get file content for writing to the generated file.
Specified by:
getFileContent
in classAbstractTaskClientGenerator
Returns:
content of the file.
-
getGeneratedFile
protected File getGeneratedFile()
Description copied from class:
AbstractTaskClientGenerator
Get the generated file where content will be written.
Specified by:
getGeneratedFile
in classAbstractTaskClientGenerator
Returns:
the generated file.
-
shouldGenerate
protected boolean shouldGenerate()
Description copied from class:
AbstractTaskClientGenerator
Check if it should generate the file or not.
Specified by:
shouldGenerate
in classAbstractTaskClientGenerator
Returns:
true if it should generate, false otherwise.
-
-