aa57f4d9b05815332195205f0da042e3dfd78d6a
[hc2vpp.git] /
1 package org.opendaylight.yang.gen.v1.urn.honeycomb.params.xml.ns.yang.data.impl.rev160411;
2
3 import java.nio.file.Paths;
4
5 public class PersistingDataTreeAdapterModule extends
6     org.opendaylight.yang.gen.v1.urn.honeycomb.params.xml.ns.yang.data.impl.rev160411.AbstractPersistingDataTreeAdapterModule {
7     public PersistingDataTreeAdapterModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
8                                            org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
9         super(identifier, dependencyResolver);
10     }
11
12     public PersistingDataTreeAdapterModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
13                                            org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
14                                            org.opendaylight.yang.gen.v1.urn.honeycomb.params.xml.ns.yang.data.impl.rev160411.PersistingDataTreeAdapterModule oldModule,
15                                            java.lang.AutoCloseable oldInstance) {
16         super(identifier, dependencyResolver, oldModule, oldInstance);
17     }
18
19     @Override
20     public void customValidation() {
21         // add custom validation form module attributes here.
22     }
23
24     @Override
25     public java.lang.AutoCloseable createInstance() {
26         return new io.fd.honeycomb.v3po.data.impl.PersistingDataTreeAdapter(
27             getDelegateDependency(),
28             getSchemaServiceDependency(),
29             Paths.get(getPersistFilePath()));
30     }
31
32 }