@Beta public interface InstanceIdentifierBuilder<T extends TreeNode> extends org.opendaylight.yangtools.concepts.Builder<InstanceIdentifier<T>>
Modifier and Type | Method and Description |
---|---|
<N extends TreeNode & Augmentation<? super T>> |
augmentation(Class<N> container)
Build an identifier which refers to a specific augmentation of the current InstanceIdentifier
referenced by the builder
|
InstanceIdentifier<T> |
build()
Build the instance identifier.
|
<N extends TreeNode & TreeChildNode<? super T,Item<N>>> |
child(Class<N> container)
Append the specified container as a child of the current InstanceIdentifier referenced by the
builder.
|
<N extends TreeChildNode<? super T,?>,K> |
child(Class<N> listItem,
K listKey)
Append the specified listItem as a child of the current InstanceIdentifier referenced by the
builder.
|
InstanceIdentifier<T> |
toInstance()
Deprecated.
|
<N extends TreeNode & TreeChildNode<? super T,Item<N>>> InstanceIdentifierBuilder<N> child(Class<N> container)
InstanceIdentifier.builder().child(Nodes.class).build();NOTE :- The above example is only for illustration purposes InstanceIdentifier.builder() has been deprecated and should not be used. Use InstanceIdentifier.builder(Nodes.class) instead
N
- container
- <N extends TreeChildNode<? super T,?>,K> InstanceIdentifierBuilder<N> child(Class<N> listItem, K listKey)
N
- K
- listItem
- listKey
- <N extends TreeNode & Augmentation<? super T>> InstanceIdentifierBuilder<N> augmentation(Class<N> container)
N
- container
- InstanceIdentifier<T> build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<InstanceIdentifier<T extends TreeNode>,IllegalArgumentException>
@Deprecated InstanceIdentifier<T> toInstance()
Copyright © 2019 OpenDaylight. All rights reserved.