summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/CollectingWriterBuilder.java32
1 files changed, 31 insertions, 1 deletions
diff --git a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/CollectingWriterBuilder.java b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/CollectingWriterBuilder.java
index 6abb6a80b..cf7855ff0 100644
--- a/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/CollectingWriterBuilder.java
+++ b/vpp-integration/api-docs/core/src/main/java/io/fd/hc2vpp/docs/core/CollectingWriterBuilder.java
@@ -66,6 +66,12 @@ public class CollectingWriterBuilder implements ModifiableWriterRegistryBuilder
}
@Override
+ public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> wildcardedSubtreeAdd(@Nonnull Writer<? extends DataObject> handler) {
+ writeHandlers.add(new WriteHandler(handler));
+ return this;
+ }
+
+ @Override
public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> addBefore(
@Nonnull Writer<? extends DataObject> handler, @Nonnull InstanceIdentifier<?> relatedType) {
addHandler(handler, Collections.singleton(relatedType));
@@ -80,11 +86,23 @@ public class CollectingWriterBuilder implements ModifiableWriterRegistryBuilder
}
@Override
+ public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> wildcardedSubtreeAddBefore(@Nonnull Writer<? extends DataObject> handler, @Nonnull InstanceIdentifier<?> relatedType) {
+ writeHandlers.add(new WriteHandler(handler));
+ return this;
+ }
+
+ @Override
+ public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> wildcardedSubtreeAddBefore(@Nonnull Writer<? extends DataObject> handler, @Nonnull Collection<InstanceIdentifier<?>> relatedTypes) {
+ writeHandlers.add(new WriteHandler(handler));
+ return this;
+ }
+
+ @Override
public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> subtreeAddBefore(
@Nonnull Set<InstanceIdentifier<?>> handledChildren, @Nonnull Writer<? extends DataObject> handler,
@Nonnull InstanceIdentifier<?> relatedType) {
addHandler(handler, handledChildren);
- return null;
+ return this;
}
@Override
@@ -110,6 +128,18 @@ public class CollectingWriterBuilder implements ModifiableWriterRegistryBuilder
}
@Override
+ public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> wildcardedSubtreeAddAfter(@Nonnull Writer<? extends DataObject> handler, @Nonnull InstanceIdentifier<?> relatedType) {
+ writeHandlers.add(new WriteHandler(handler));
+ return this;
+ }
+
+ @Override
+ public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> wildcardedSubtreeAddAfter(@Nonnull Writer<? extends DataObject> handler, @Nonnull Collection<InstanceIdentifier<?>> relatedTypes) {
+ writeHandlers.add(new WriteHandler(handler));
+ return this;
+ }
+
+ @Override
public ModifiableSubtreeManagerRegistryBuilder<Writer<? extends DataObject>> subtreeAddAfter(
@Nonnull Set<InstanceIdentifier<?>> handledChildren, @Nonnull Writer<? extends DataObject> handler,
@Nonnull InstanceIdentifier<?> relatedType) {