Class TaskGenerateTsConfig
java.lang.Object
io.jmix.flowui.devserver.frontend.AbstractTaskClientGenerator
io.jmix.flowui.devserver.frontend.TaskGenerateTsConfig
- All Implemented Interfaces:
 com.vaadin.flow.server.frontend.FallibleCommand
Generate 
tsconfig.json if it is missing in project folder.- 
Method Details
- 
getFileContent
Description copied from class:AbstractTaskClientGeneratorGet file content for writing to the generated file.- Specified by:
 getFileContentin classAbstractTaskClientGenerator- Returns:
 - content of the file.
 - Throws:
 IOException- if IO error happens while reading file content.
 - 
execute
public void execute() throws com.vaadin.flow.server.ExecutionFailedException- Specified by:
 executein interfacecom.vaadin.flow.server.frontend.FallibleCommand- Overrides:
 executein classAbstractTaskClientGenerator- Throws:
 com.vaadin.flow.server.ExecutionFailedException
 - 
getGeneratedFile
Description copied from class:AbstractTaskClientGeneratorGet the generated file where content will be written.- Specified by:
 getGeneratedFilein classAbstractTaskClientGenerator- Returns:
 - the generated file.
 
 - 
shouldGenerate
protected boolean shouldGenerate()Description copied from class:AbstractTaskClientGeneratorCheck if it should generate the file or not.- Specified by:
 shouldGeneratein classAbstractTaskClientGenerator- Returns:
 - true if it should generate, false otherwise.
 
 
 -