Update ModuleInfoSnapshotBuilder a bit
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 15 Oct 2020 05:49:31 +0000 (07:49 +0200)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 19 Jun 2024 00:41:34 +0000 (10:41 +1000)
commitc9fe7e2444e1769fa318fdadc186aa0328ee4973
tree78fcb374fb132083a9538b99bdee572608ddadc9
parent7dd0fd81b2896a13674ff908406894ae474f48c5
Update ModuleInfoSnapshotBuilder a bit

While we are dealing with YangModuleInfo, users should not really
be mucking with that -- it is a binding-internal thing after all.

Expose a j.l.Class-based add() method, which performs proper
introspection to find the appropriate info -- thus allowing us to
simplify users a bit.

Change-Id: I2b00b40ffee2be977fba8b7c7fb80ea28dfd073b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-runtime-spi/src/main/java/org/opendaylight/mdsal/binding/runtime/spi/ModuleInfoSnapshotBuilder.java