@Named public class WidgetDirectiveBuilder extends AbstractLiveFileBuilder
| Constructor and Description |
|---|
WidgetDirectiveBuilder(Watcher watcher,
WidgetFileBasedLoader widgetLoader,
HtmlSanitizer htmlSanitizer) |
| Modifier and Type | Method and Description |
|---|---|
void |
build(Path jsonPath)
Build directive corresponding to the widget descriptive json file which has changed.
|
boolean |
isBuildable(String path) |
start@Inject public WidgetDirectiveBuilder(Watcher watcher, WidgetFileBasedLoader widgetLoader, HtmlSanitizer htmlSanitizer)
public void build(Path jsonPath) throws IOException
build in class AbstractLiveFileBuilderjsonPath - is the path to the widget file to build.IOExceptionpublic boolean isBuildable(String path)
isBuildable in class AbstractLiveFileBuilderCopyright © 2021. All rights reserved.