Class TaskGenerateFeatureFlags
java.lang.Object
com.vaadin.flow.server.frontend.AbstractFileGeneratorFallibleCommand
io.jmix.flowui.devserver.frontend.AbstractTaskClientGenerator
io.jmix.flowui.devserver.frontend.TaskGenerateFeatureFlags
- All Implemented Interfaces:
com.vaadin.flow.server.frontend.FallibleCommand
A task for generating the feature flags file
FrontendUtils.FEATURE_FLAGS_FILE_NAME
during `package` Maven goal.-
Method Summary
Methods inherited from class io.jmix.flowui.devserver.frontend.AbstractTaskClientGenerator
execute
Methods inherited from class com.vaadin.flow.server.frontend.AbstractFileGeneratorFallibleCommand
setGeneratedFileSupport, track, track, writeIfChanged, writeIfChanged
-
Method Details
-
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
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.
-