public class TaskGenerateTsFiles extends Object implements FallibleCommand
Modifier and Type | Method and Description |
---|---|
void |
execute()
Runs the given command.
|
protected boolean |
shouldGenerate()
Only generate if there exists typescript modules in the project.
|
protected boolean shouldGenerate()
public void execute() throws ExecutionFailedException
FallibleCommand
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
execute
in interface FallibleCommand
ExecutionFailedException
- if there is an execution errorCopyright © 2021. All rights reserved.