@Named public class FragmentDirectiveBuilder extends AbstractLiveFileBuilder
| Constructor and Description |
|---|
FragmentDirectiveBuilder(Watcher watcher,
JacksonObjectMapper objectMapper,
HtmlBuilderVisitor htmlBuilderVisitor,
HtmlSanitizer htmlSanitizer) |
| Modifier and Type | Method and Description |
|---|---|
void |
build(Path jsonPath)
Build directive corresponding to the fragment descriptive json file which has changed.
|
boolean |
isBuildable(String path) |
start@Inject public FragmentDirectiveBuilder(Watcher watcher, JacksonObjectMapper objectMapper, HtmlBuilderVisitor htmlBuilderVisitor, 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 © 2020. All rights reserved.