YANGTOOLS-825: extend plugin SPI with import resolution mode 94/65094/7
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 3 Nov 2017 13:00:56 +0000 (14:00 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 7 Nov 2017 20:36:38 +0000 (20:36 +0000)
commit0a2d7366079b93c52d8d1ccf520c5ec2b84d6472
tree7dbd687e0c598a88d48e8eb0df51b64a2f69cdba
parent135b662f924392bd1853b63e6f454ab111e65b96
YANGTOOLS-825: extend plugin SPI with import resolution mode

This patch adds the basic API needed for codegen plugins to express
their desired import resolution mode. The default implementation
results in RFC6020/7950 compliant mode.

Change-Id: I60936171b984dab503e1933b21dbcb5bd68278c8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-maven-plugin-spi/src/main/java/org/opendaylight/yangtools/yang2sources/spi/BasicCodeGenerator.java