public class TaskGenerateTsConfig extends AbstractTaskClientGenerator
tsconfig.json if it is missing in project folder and
index.ts exists in frontend folder.| Modifier and Type | Method and 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.
|
executeprotected String getFileContent() throws IOException
AbstractTaskClientGeneratorgetFileContent in class AbstractTaskClientGeneratorIOException - if IO error happens while reading file content.protected File getGeneratedFile()
AbstractTaskClientGeneratorgetGeneratedFile in class AbstractTaskClientGeneratorprotected boolean shouldGenerate()
AbstractTaskClientGeneratorshouldGenerate in class AbstractTaskClientGeneratorCopyright © 2000–2020 Vaadin Ltd. All rights reserved.