Rehost file deletion 14/104814/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 9 Mar 2023 19:26:24 +0000 (20:26 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 9 Mar 2023 19:29:43 +0000 (20:29 +0100)
commit2fea90d500ec36feccbe653ba67b89664ced839d
tree2842fe2741ec421b8e8a7f6640917ae66738eb1b
parenta9b3866ed19971acc52a3e6998b5f2453e5b1f74
Rehost file deletion

YangToSourceState is a simple DTO, but we really want to host some
utilities here. Wiping output files is one of them.

This also means we never deal with a null state, making
IncrementalBuildSupport simpler.

JIRA: YANGTOOLS-745
Change-Id: I6c5190275742c8518149cac70dfe7586f579e451
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/IncrementalBuildSupport.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesProcessor.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesState.java