Modifier and Type | Interface and Description |
---|---|
interface |
DataTreeCommitCohort<T extends TreeNode>
Commit cohort participating in commit of data modification, which can validate data tree
modifications, with option to reject supplied modification, and with callbacks describing state
of commit.
|
class |
DataTreeIdentifier<T extends TreeNode>
A unique identifier for a particular subtree.
|
interface |
DataTreeModification<T extends TreeNode>
Represents root of modification.
|
interface |
TreeNodeModification<T extends TreeNode>
Modified Tree Node.
|
Modifier and Type | Method and Description |
---|---|
static <T extends TreeNode> |
DataTreeIdentifier.create(LogicalDatastoreType datastoreType,
InstanceIdentifier<T> rootIdentifier) |
<T extends TreeNode> |
DataTreeCursorProvider.createCursor(DataTreeIdentifier<T> path)
Create a new
DataTreeCursor at specified path. |
<T extends TreeNode> |
CursorAwareWriteTransaction.createCursor(DataTreeIdentifier<T> path)
Create a
DataTreeWriteCursor anchored at the specified path. |
<T extends Action<? extends TreeNode,?,?,?>> |
RpcActionConsumerRegistry.getActionService(Class<T> serviceInterface)
Returns an implementation of a requested Action service.
|
<T extends ListAction<? extends TreeNode,?,?,?>> |
RpcActionConsumerRegistry.getListActionService(Class<T> serviceInterface)
Returns an implementation of a requested ListAction service.
|
<C extends Augmentation<T> & TreeNode> |
TreeNodeModification.getModifiedAugmentation(Class<C> augmentation)
Returns augmentation child modification if
augmentation was modified by this
modification. |
<T extends TreeNode> |
WriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data)
Merges a piece of data with the existing data at a specified path.
|
<T extends TreeNode> |
WriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents)
Merges a piece of data with the existing data at a specified path.
|
<T extends TreeNode> |
DataTreeWriteCursor.merge(TreeArgument<T> child,
T data)
Merge the specified data with the currently-present data at specified path.
|
<T extends TreeNode> |
WriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data)
Stores a piece of data at the specified path.
|
<T extends TreeNode> |
WriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents)
Stores a piece of data at the specified path.
|
<T extends TreeNode> |
ReadTransaction.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback)
Reads data from the provided logical data store located at the provided path.
|
default <S extends Action<? extends TreeNode,?,?,?>,T extends S> |
RpcActionProviderService.registerActionImplementation(Class<S> type,
T implementation) |
default <S extends Action<? extends TreeNode,?,?,?>,T extends S> |
RpcActionProviderService.registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore) |
<S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> |
RpcActionProviderService.registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<P>> validNodes)
Returns class representing registration of Action/ListAction.
|
<S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> |
RpcActionProviderService.registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<P>> validNodes)
Returns class representing registration of Action/ListAction.
|
<D extends TreeNode,T extends DataTreeCommitCohort<D>> |
DataTreeCommitCohortRegistry.registerCommitCohort(DataTreeIdentifier<D> subtree,
T cohort)
Register commit cohort which will participate in three-phase commit protocols of write
transaction in data broker associated with this instance of extension.
|
<T extends TreeNode> |
CursorAwareWriteTransaction.submit(BiConsumer<TransactionCommitFailedException,T> callback)
Submits this transaction to be asynchronously applied to update the logical data tree.
|
<T extends TreeNode> |
DataTreeWriteCursor.write(TreeArgument<T> child,
T data)
Replace the data at specified path with supplied data.
|
Modifier and Type | Method and Description |
---|---|
TreeNodeModification<? extends TreeNode> |
TreeNodeModification.getModifiedChild(TreeArgument childArgument)
Returns a child modification if a node identified by
childArgument was modified by
this modification. |
Collection<TreeNodeModification<? extends TreeNode>> |
TreeNodeModification.getModifiedChildren()
Returns unmodifiable collection of modified direct children.
|
Modifier and Type | Method and Description |
---|---|
void |
DataTreeListener.onDataTreeChanged(Collection<DataTreeModification<?>> changes,
Map<DataTreeIdentifier<?>,TreeNode> subtrees)
Invoked whenever one or more registered subtrees change.
|
Modifier and Type | Method and Description |
---|---|
abstract InstanceIdentifier<? extends TreeNode> |
ContextReferenceExtractor.extract(TreeNode input)
Extract context-reference (Instance Identifier) from Binding TreeNode.
|
Modifier and Type | Method and Description |
---|---|
abstract InstanceIdentifier<? extends TreeNode> |
ContextReferenceExtractor.extract(TreeNode input)
Extract context-reference (Instance Identifier) from Binding TreeNode.
|
Modifier and Type | Class and Description |
---|---|
class |
BindingDOMDataTreeCommitCohortAdapter<T extends TreeNode>
Data tree commit cohort adapter.
|
Modifier and Type | Method and Description |
---|---|
<P extends TreeNode> |
BindingDOMCursorAwareWriteTransactionAdapter.createCursor(DataTreeIdentifier<P> path) |
<U extends TreeNode> |
BindingDOMDataTreeWriteCursorAdapter.merge(TreeArgument<U> child,
U data) |
<D extends TreeNode,T extends DataTreeCommitCohort<D>> |
BindingDOMDataTreeCommitCohortRegistryAdapter.registerCommitCohort(DataTreeIdentifier<D> subtree,
T cohort) |
<V extends TreeNode> |
BindingDOMCursorAwareWriteTransactionAdapter.submit(BiConsumer<TransactionCommitFailedException,V> callback) |
<P extends TreeNode> |
BindingDOMDataTreeWriteCursorAdapter.write(TreeArgument<P> child,
P data) |
Modifier and Type | Method and Description |
---|---|
<T extends Action<? extends TreeNode,?,?,?>> |
BindingDOMOperationServiceAdapter.getActionService(Class<T> serviceInterface) |
<T extends ListAction<? extends TreeNode,?,?,?>> |
BindingDOMOperationServiceAdapter.getListActionService(Class<T> serviceInterface) |
<S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> |
BindingDOMOperationProviderServiceAdapter.registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<P>> validNodes) |
<S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> |
BindingDOMOperationProviderServiceAdapter.registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<P>> validNodes) |
Modifier and Type | Method and Description |
---|---|
<U extends TreeNode> |
BindingDOMWriteTransactionAdapter.merge(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data) |
<U extends TreeNode> |
BindingDOMWriteTransactionAdapter.put(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data) |
<T extends TreeNode> |
BindingDOMReadTransactionAdapter.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback) |
Modifier and Type | Method and Description |
---|---|
protected <D extends TreeNode> |
AbstractForwardedTransaction.doRead(DOMDataTreeReadTransaction readTx,
LogicalDatastoreType store,
InstanceIdentifier<D> path) |
<U extends TreeNode> |
AbstractWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data,
boolean createParents)
Merge Binding data with existing data on specific path via
DOMDataTreeWriteOperations.merge(LogicalDatastoreType, YangInstanceIdentifier, NormalizedNode) . |
<U extends TreeNode> |
AbstractWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<U> path,
U data,
boolean createParents)
Put Binding data to specific datastore via
DOMDataTreeWriteOperations.put(LogicalDatastoreType, YangInstanceIdentifier, NormalizedNode) . |
Modifier and Type | Method and Description |
---|---|
protected Map<InstanceIdentifier<? extends TreeNode>,TreeNode> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<? extends TreeNode> path,
Map<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized) |
protected Map<InstanceIdentifier<? extends TreeNode>,TreeNode> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<? extends TreeNode> path,
Map<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized) |
protected Optional<TreeNode> |
AbstractForwardedDataBroker.toBindingData(InstanceIdentifier<?> path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Modifier and Type | Method and Description |
---|---|
protected Map<InstanceIdentifier<? extends TreeNode>,TreeNode> |
AbstractForwardedDataBroker.toBinding(InstanceIdentifier<? extends TreeNode> path,
Map<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized) |
Modifier and Type | Interface and Description |
---|---|
interface |
BindingNormalizedNodeCachingCodec<T extends TreeNode>
Caching variant of Binding to Normalized Node codec.
|
interface |
BindingNormalizedNodeCodec<T extends TreeNode>
Codec providing serialization and deserializiation between Binding and
NormalizedNode representation of data.
|
interface |
BindingTreeNodeCodec<T extends TreeNode>
Specific subtree codec to model subtree between Java Binding and DOM.
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingTreeCodec.getSubtreeCodec(InstanceIdentifier<T> path)
Get specific subtree serialization context by Binding path.
|
<E extends TreeNode> |
BindingTreeNodeCodec.possibleStreamChild(Class<E> childClass)
Returns child context as if it was walked by
BindingStreamEventWriter . |
<E extends TreeNode> |
BindingTreeNodeCodec.streamChild(Class<E> childClass)
Returns child context as if it was walked by
BindingStreamEventWriter . |
Modifier and Type | Method and Description |
---|---|
BindingNormalizedNodeCachingCodec<T> |
BindingTreeNodeCodec.createCachingCodec(com.google.common.collect.ImmutableCollection<Class<? extends TreeNode>> cacheSpecifier)
Returns codec which uses caches serialization / deserialization results.
|
Modifier and Type | Method and Description |
---|---|
BindingStreamEventWriter |
BindingNormalizedNodeWriterFactory.newWriter(InstanceIdentifier<? extends TreeNode> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Creates a
BindingStreamEventWriter for data tree path which will
translate to NormalizedNode model and invoke proper events on supplied
NormalizedNodeStreamWriter . |
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,BindingStreamEventWriter> |
BindingNormalizedNodeWriterFactory.newWriterAndIdentifier(InstanceIdentifier<? extends TreeNode> path,
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter domWriter)
Creates a
BindingStreamEventWriter for data tree path which will
translate to NormalizedNode model and invoke proper events on supplied
NormalizedNodeStreamWriter . |
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingNormalizedNodeSerializer.toNormalizedNode(InstanceIdentifier<T> path,
T data)
Translates supplied Binding Instance Identifier and data into
NormalizedNode representation.
|
Modifier and Type | Method and Description |
---|---|
TreeNode |
BindingNormalizedNodeSerializer.fromNormalizedNodeOperationData(org.opendaylight.yangtools.yang.model.api.SchemaPath path,
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data)
Translates supplied NormalizedNode operation (RPC, Action) input or
output into Binding data.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> |
BindingNormalizedNodeSerializer.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Translates supplied YANG Instance Identifier and NormalizedNode into
Binding data.
|
Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> |
BindingNormalizedNodeSerializer.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Translates supplied YANG Instance Identifier and NormalizedNode into
Binding data.
|
InstanceIdentifier<? extends TreeNode> |
BindingNormalizedNodeSerializer.fromYangInstanceIdentifier(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom)
Translates supplied YANG Instance Identifier into Binding instance
identifier.
|
Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
BindingNormalizedNodeSerializer.toNormalizedNodeOperationData(TreeNode data)
Translates supplied Binding operation (RPC, Action) input or output into
NormalizedNode data.
|
Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingNormalizedNodeSerializer.toYangInstanceIdentifier(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode
instance identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeNodeSerializerPrototype.serialize(TreeNodeSerializerRegistry reg,
TreeNode obj,
BindingStreamEventWriter stream) |
Modifier and Type | Class and Description |
---|---|
class |
NonCachingCodec<D extends TreeNode>
Non caching codec.
|
interface |
OperationInputCodec<D extends TreeNode>
Marker interface for codecs dealing with operation input being potentially unmapped.
|
class |
UnmappedOperationInputCodec<D extends TreeNode>
Singleton codec for translating operations with implicit input statements, which are not mapped by binding
spec v2.
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingToNormalizedNodeCodec.deserializeFunction(InstanceIdentifier<T> path)
Prepare deserialize function of Binding identifier to DOM.
|
<T extends TreeNode> |
BindingNormalizedNodeCodecRegistry.deserializeFunction(InstanceIdentifier<T> path)
Deserialize function based on tree node codec context resolved by binding path.
|
static <D extends TreeNode> |
UnmappedOperationInputCodec.getInstance() |
<P extends TreeNode> |
BindingToNormalizedNodeCodec.toDOMDataTreeIdentifiers(Set<DataTreeIdentifier<P>> subtrees) |
<T extends TreeNode> |
BindingToNormalizedNodeCodec.toNormalizedNode(InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
BindingNormalizedNodeCodecRegistry.toNormalizedNode(InstanceIdentifier<T> path,
T data) |
Modifier and Type | Method and Description |
---|---|
TreeNode |
BindingToNormalizedNodeCodec.fromNormalizedNodeOperationData(org.opendaylight.yangtools.yang.model.api.SchemaPath path,
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data) |
TreeNode |
BindingNormalizedNodeCodecRegistry.fromNormalizedNodeOperationData(org.opendaylight.yangtools.yang.model.api.SchemaPath path,
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data) |
Modifier and Type | Method and Description |
---|---|
Map.Entry<InstanceIdentifier<?>,TreeNode> |
BindingToNormalizedNodeCodec.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Map.Entry<InstanceIdentifier<?>,TreeNode> |
BindingNormalizedNodeCodecRegistry.fromNormalizedNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
Optional<Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode>> |
BindingToNormalizedNodeCodec.toBinding(Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized)
DOM to Binding.
|
Optional<Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode>> |
BindingToNormalizedNodeCodec.toBinding(Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,? extends org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> normalized)
DOM to Binding.
|
Optional<InstanceIdentifier<? extends TreeNode>> |
BindingToNormalizedNodeCodec.toBinding(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier normalized)
Returns a Binding-Aware instance identifier from normalized instance-identifier if it is possible to
create representation.
|
Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
BindingToNormalizedNodeCodec.toNormalizedNodeOperationData(TreeNode data) |
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
BindingNormalizedNodeCodecRegistry.toNormalizedNodeOperationData(TreeNode data) |
Modifier and Type | Method and Description |
---|---|
TreeNodeSerializer |
BindingNormalizedNodeCodecRegistry.getSerializer(Class<? extends TreeNode> type) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toNormalized(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode instance identifier.
|
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> |
BindingToNormalizedNodeCodec.toNormalizedNode(Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> binding)
Converts Binding Map.Entry to DOM Map.Entry.
|
Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> |
BindingToNormalizedNodeCodec.toNormalizedNode(Map.Entry<InstanceIdentifier<? extends TreeNode>,TreeNode> binding)
Converts Binding Map.Entry to DOM Map.Entry.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(InstanceIdentifier<? extends TreeNode> binding)
Translates supplied Binding Instance Identifier into NormalizedNode instance identifier with waiting
for schema.
|
Modifier and Type | Class and Description |
---|---|
class |
CachingNormalizedNodeCodec<D extends TreeNode>
Caching codec.
|
Modifier and Type | Method and Description |
---|---|
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
BindingNormalizedNodeCache.get(TreeNode obj)
Returns cached NormalizedNode representation of TreeNode.
|
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
BindingNormalizedNodeCache.load(TreeNode key) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractBindingNormalizedNodeCacheHolder.isCached(Class<? extends TreeNode> type)
Check if specific type is cached.
|
Constructor and Description |
---|
AbstractBindingNormalizedNodeCacheHolder(Set<Class<? extends TreeNode>> cacheSpec) |
CachingNormalizedNodeCodec(DataContainerCodecContext<D,?> subtreeRoot,
Set<Class<? extends TreeNode>> cacheSpec) |
Modifier and Type | Class and Description |
---|---|
class |
AugmentationNodeContext<D extends TreeNode & Augmentation<?>>
Context for prototype of augmentation node.
|
class |
CaseNodeCodecContext<D extends TreeNode>
Codec context for serializing and deserializing choice case node and it's
path.
|
class |
ChoiceNodeCodecContext<D extends TreeNode>
Context for prototype of choice node codec.
|
class |
ContainerNodeCodecContext<D extends TreeNode>
Context for prototype of container node.
|
class |
KeyedListNodeCodecContext<D extends TreeNode & org.opendaylight.yangtools.concepts.Identifiable<?>>
Codec context for serializing and deserializing keyed list node and it's
path.
|
class |
ListNodeCodecContext<D extends TreeNode>
Codec context for serializing and deserializing list node.
|
class |
NotificationCodecContext<D extends TreeNode & Notification>
Context for prototype of notification.
|
class |
SchemaRootCodecContext<D extends TreeNode>
Creates RootNode from supplied CodecContextFactory and make operations with.
|
Modifier and Type | Method and Description |
---|---|
<C extends TreeNode> |
ChoiceNodeCodecContext.possibleStreamChild(Class<C> childClass) |
<E extends TreeNode> |
SchemaRootCodecContext.possibleStreamChild(Class<E> childClass) |
<C extends TreeNode> |
ChoiceNodeCodecContext.streamChild(Class<C> childClass) |
<C extends TreeNode> |
SchemaRootCodecContext.streamChild(Class<C> childClass) |
Modifier and Type | Method and Description |
---|---|
DataContainerCodecContext<?,?> |
ChoiceNodeCodecContext.getCaseByChildClass(Class<? extends TreeNode> type) |
Modifier and Type | Class and Description |
---|---|
class |
AnyxmlNodeCodecContext<D extends TreeNode> |
class |
DataContainerCodecContext<D extends TreeNode,T> |
class |
LeafNodeCodecContext<D extends TreeNode> |
class |
NodeCodecContext<D extends TreeNode>
Location specific context for schema nodes, which contains codec specific
information to properly serialize / deserialize from Java YANG Binding data
to NormalizedNode data.
|
class |
TreeNodeCodecContext<D extends TreeNode,T extends org.opendaylight.yangtools.yang.model.api.DataNodeContainer> |
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingCodecContext.getSubtreeCodec(InstanceIdentifier<T> path) |
abstract <C extends TreeNode> |
DataContainerCodecContext.possibleStreamChild(Class<C> childClass)
Returns child context as if it was walked by
BindingStreamEventWriter . |
<C extends TreeNode> |
TreeNodeCodecContext.possibleStreamChild(Class<C> childClass) |
<E extends TreeNode> |
AnyxmlNodeCodecContext.possibleStreamChild(Class<E> childClass) |
<E extends TreeNode> |
LeafNodeCodecContext.possibleStreamChild(Class<E> childClass) |
abstract <C extends TreeNode> |
DataContainerCodecContext.streamChild(Class<C> childClass)
Returns child context as if it was walked by
BindingStreamEventWriter . |
<C extends TreeNode> |
TreeNodeCodecContext.streamChild(Class<C> childClass) |
<E extends TreeNode> |
AnyxmlNodeCodecContext.streamChild(Class<E> childClass) |
<E extends TreeNode> |
LeafNodeCodecContext.streamChild(Class<E> childClass) |
Modifier and Type | Method and Description |
---|---|
BindingNormalizedNodeCachingCodec<D> |
AnyxmlNodeCodecContext.createCachingCodec(com.google.common.collect.ImmutableCollection<Class<? extends TreeNode>> cacheSpecifier) |
BindingNormalizedNodeCachingCodec<D> |
LeafNodeCodecContext.createCachingCodec(com.google.common.collect.ImmutableCollection<Class<? extends TreeNode>> cacheSpecifier) |
BindingNormalizedNodeCachingCodec<D> |
DataContainerCodecContext.createCachingCodec(com.google.common.collect.ImmutableCollection<Class<? extends TreeNode>> cacheSpecifier) |
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingToNormalizedStreamWriter.startChoiceNode(Item<T> choice,
int childSizeHint) |
<I extends TreeNode,T> |
BindingToNormalizedStreamWriter.startMapEntryNode(IdentifiableItem<I,T> keyValues,
int childSizeHint) |
<T extends TreeNode & org.opendaylight.yangtools.concepts.Identifiable<?>> |
BindingToNormalizedStreamWriter.startMapNode(Class<T> mapEntryType,
int childSizeHint) |
<T extends TreeNode & org.opendaylight.yangtools.concepts.Identifiable<?>> |
BindingToNormalizedStreamWriter.startOrderedMapNode(Class<T> mapEntryType,
int childSizeHint) |
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
CachingNormalizedNodeSerializer.serialize(AbstractBindingNormalizedNodeCacheHolder cacheHolder,
DataContainerCodecContext<?,?> subtreeRoot,
TreeNode data)
Serializes supplied data using stream writer with child cache enabled or
using cache directly if cache is avalaible also for supplied Codec node.
|
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
CachingNormalizedNodeSerializer.serialize(TreeNode input)
Serializes input if it is cached, returns null otherwise.
|
void |
ChoiceDispatchSerializer.serialize(TreeNodeSerializerRegistry reg,
TreeNode obj,
BindingStreamEventWriter stream) |
void |
AugmentableDispatchSerializer.serialize(TreeNodeSerializerRegistry reg,
TreeNode obj,
BindingStreamEventWriter stream) |
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
CachingNormalizedNodeSerializer.serializeUsingStreamWriter(AbstractBindingNormalizedNodeCacheHolder cacheHolder,
DataContainerCodecContext<?,?> subtreeRoot,
TreeNode data)
Serializes supplied data using stream writer with child cache enabled.
|
Modifier and Type | Method and Description |
---|---|
void |
BindingToNormalizedStreamWriter.startCase(Class<? extends TreeNode> caze,
int childSizeHint) |
void |
BindingToNormalizedStreamWriter.startContainerNode(Class<? extends TreeNode> object,
int childSizeHint) |
void |
BindingToNormalizedStreamWriter.startUnkeyedList(Class<? extends TreeNode> localName,
int childSizeHint) |
Modifier and Type | Class and Description |
---|---|
class |
LazyDataTreeModification<T extends TreeNode>
Lazily translated
DataTreeModification based on DataTreeCandidate . |
Modifier and Type | Method and Description |
---|---|
static <T extends TreeNode> |
LazyDataTreeModification.create(BindingToNormalizedNodeCodec codec,
DOMDataTreeCandidate candidate)
Create instance of Binding date tree modification according to DOM candidate of changes.
|
static <T extends TreeNode> |
LazyDataTreeModification.from(BindingToNormalizedNodeCodec codec,
Collection<org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate> domChanges,
LogicalDatastoreType datastoreType)
DOM data changes to new Binding data.
|
Modifier and Type | Method and Description |
---|---|
TreeNode |
LazySerializedContainerNode.bindingData()
Get binding data.
|
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
LazySerializedContainerNode.create(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName,
TreeNode data,
BindingNormalizedNodeCodecRegistry codec)
Prepare serializer of binding data with specific codec.
|
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
LazySerializedContainerNode.withContextRef(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName,
TreeNode data,
org.opendaylight.yangtools.yang.data.api.schema.LeafNode<?> contextRef,
BindingNormalizedNodeCodecRegistry codec)
Prepare serializer of binding data with specific codec and pre-cached serialized leaf holding routing
information.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<Class<? extends TreeNode>> |
BindingReflections.getChildrenClasses(Class<? extends Instantiable<?>> type)
Scans supplied class and returns an iterable of all data children
classes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
BindingReflections.isOperationType(Class<? extends TreeNode> targetType)
Checks if supplied class represents RPC or Action input/output.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Action<P extends TreeNode,D extends InstanceIdentifier<P>,I extends Input<I> & Instantiable<I>,O extends Output<O> & Instantiable<O>>
The "action" statement is used to define an operation connected to a
specific container or list data node.
|
class |
IdentifiableItem<I extends TreeNode,T>
An IdentifiableItem represents a object that is usually present in a collection and can be
identified uniquely by a key.
|
class |
InstanceIdentifier<T extends TreeNode>
This instance identifier uniquely identifies a specific TreeNode in the data tree modeled by
YANG.
|
interface |
InstanceIdentifierBuilder<T extends TreeNode> |
class |
Item<T extends TreeNode>
An Item represents an object that probably is only one of it's kind.
|
class |
KeyedInstanceIdentifier<T extends TreeNode,K>
An
InstanceIdentifier , which has a list key attached at its last path
element. |
interface |
ListAction<P extends TreeNode,K extends org.opendaylight.yangtools.concepts.Identifier,I extends Input<I> & Instantiable<I>,O extends Output<O> & Instantiable<O>>
ListAction provides support for YANG actions defined under List statement.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TreeRoot |
Modifier and Type | Method and Description |
---|---|
<N extends TreeNode & Augmentation<? super T>> |
InstanceIdentifierBuilder.augmentation(Class<N> container)
Build an identifier which refers to a specific augmentation of the current InstanceIdentifier
referenced by the builder
|
<N extends TreeNode & Augmentation<? super T>> |
InstanceIdentifier.augmentation(Class<N> container) |
static <T extends TreeNode> |
InstanceIdentifier.builder(InstanceIdentifier<T> base)
Deprecated.
Use
InstanceIdentifier.builder() instead. |
<N extends TreeNode & TreeChildNode<? super T,Item<N>>> |
InstanceIdentifierBuilder.child(Class<N> container)
Append the specified container as a child of the current InstanceIdentifier referenced by the
builder.
|
static <T extends TreeNode> |
InstanceIdentifier.create(Class<T> type)
Create an instance identifier for a very specific object type.
|
<I extends TreeNode> |
InstanceIdentifier.firstIdentifierOf(Class<I> type)
Return an instance identifier trimmed at the first occurrence of a
specific component type.
|
<N extends TreeNode,K> |
InstanceIdentifier.firstKeyOf(Class<N> listItem)
Return the key associated with the first component of specified type in
an identifier.
|
<N extends TreeNode,K> |
InstanceIdentifier.firstKeyOf(Class<N> listItem,
Class<K> listKey)
Deprecated.
Use
InstanceIdentifier.firstKeyOf(Class) instead. |
static <N extends TreeNode,K> |
InstanceIdentifier.keyOf(InstanceIdentifier<N> id)
Return the key associated with the last component of the specified identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InstanceIdentifier.contains(InstanceIdentifier<? extends TreeNode> other)
Check whether an identifier is contained in this identifier.
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
BindingStreamEventWriter.startChoiceNode(Item<T> choice,
int childSizeHint)
Emits start of choice node.
|
<I extends TreeNode,T> |
BindingStreamEventWriter.startMapEntryNode(IdentifiableItem<I,T> keyValues,
int childSizeHint)
Emits start of map entry.
|
<T extends TreeNode & org.opendaylight.yangtools.concepts.Identifiable<?>> |
BindingStreamEventWriter.startMapNode(Class<T> mapEntryType,
int childSizeHint)
Emits start of unordered map node event.
|
<T extends TreeNode & org.opendaylight.yangtools.concepts.Identifiable<?>> |
BindingStreamEventWriter.startOrderedMapNode(Class<T> mapEntryType,
int childSizeHint)
Emits start of ordered map node event.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeNodeSerializer.serialize(TreeNode obj,
BindingStreamEventWriter stream)
Writes stream events representing object to supplied stream.
|
void |
TreeNodeSerializerImplementation.serialize(TreeNodeSerializerRegistry reg,
TreeNode obj,
BindingStreamEventWriter stream)
Writes stream events for supplied tree node to provided stream.
|
Modifier and Type | Method and Description |
---|---|
TreeNodeSerializer |
TreeNodeSerializerRegistry.getSerializer(Class<? extends TreeNode> binding)
Returns implementation of requested serializer.
|
void |
BindingStreamEventWriter.startCase(Class<? extends TreeNode> caze,
int childSizeHint)
Starts a case node.
|
void |
BindingStreamEventWriter.startContainerNode(Class<? extends TreeNode> container,
int childSizeHint)
Emits start of new container.
|
void |
BindingStreamEventWriter.startUnkeyedList(Class<? extends TreeNode> localName,
int childSizeHint)
Emits start of unkeyed list node event.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TreeChildNode<P extends TreeNode,I extends TreeArgument<?>>
Replaces org.opendaylight.yangtools.yang.binding.ChildOf from Binding Spec v1
|
Modifier and Type | Interface and Description |
---|---|
interface |
TreeChildNode<P extends TreeNode,I extends TreeArgument<?>>
Replaces org.opendaylight.yangtools.yang.binding.ChildOf from Binding Spec v1
|
Modifier and Type | Method and Description |
---|---|
<T extends TreeNode> |
ForwardingWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
ForwardingWriteTransaction.merge(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents) |
<T extends TreeNode> |
ForwardingWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data) |
<T extends TreeNode> |
ForwardingWriteTransaction.put(LogicalDatastoreType store,
InstanceIdentifier<T> path,
T data,
boolean createMissingParents) |
<T extends TreeNode> |
ForwardingReadTransaction.read(LogicalDatastoreType store,
InstanceIdentifier<T> path,
BiConsumer<ReadFailedException,T> callback) |
Modifier and Type | Interface and Description |
---|---|
interface |
Bug8449Data
This class represents the following YANG schema fragment defined in module bug8449
|
Modifier and Type | Interface and Description |
---|---|
interface |
Cont
This class represents the following YANG schema fragment defined in module bug8449
|
interface |
ContInt32
This class represents the following YANG schema fragment defined in module bug8449
|
interface |
Top
This class represents the following YANG schema fragment defined in module bug8449
|
interface |
TopInt
This class represents the following YANG schema fragment defined in module bug8449
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestRuntimeData
This class represents the following YANG schema fragment defined in module test-runtime
|
Modifier and Type | Interface and Description |
---|---|
interface |
One
This class represents the following YANG schema fragment defined in module test-runtime
|
interface |
Two
This class represents the following YANG schema fragment defined in module test-runtime
|
Modifier and Type | Interface and Description |
---|---|
interface |
RpcLeafOnlyUsesAugment |
interface |
TopChoiceAugment1 |
interface |
TopChoiceAugment2 |
interface |
TreeLeafOnlyUsesAugment |
Modifier and Type | Interface and Description |
---|---|
interface |
ComplexViaUsesWithDifferentName
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContainerWithUses
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
interface |
ListViaUses
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleViaUses
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Case1
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
interface |
Case2
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Case1Container
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Case11
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Case11ChoiceCaseContainer
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Case2Container
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
ComplexViaUses
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
EmptyLeaf
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-augment-test
|
Modifier and Type | Method and Description |
---|---|
void |
RpcLeafOnlyUsesAugmentBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
void |
TreeLeafOnlyUsesAugmentBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ComplexViaUsesWithDifferentNameBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerWithUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerWithUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleViaUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ComplexViaUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerWithUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerWithUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleViaUsesBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OpendaylightMdsalBindingTestData
This module contains a collection of YANG definitions used forsome test cases.
|
interface |
OpendaylightMdsalBindingTestGetTopRpc
Interface for implementing the following YANG Operation defined in module opendaylight-mdsal-binding-test
|
interface |
OpendaylightMdsalBindingTestPutTopRpc
Interface for implementing the following YANG Operation defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChoiceContainer
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
interface |
TwoLevelListChanged
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
Extended
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
interface |
Simple
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedId
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleId
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
GetTopInput
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
interface |
GetTopOutput
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
PutTopInput
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
interface |
PutTopOutput
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChoiceList
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
interface |
TopLevelList
Top Level List
|
Modifier and Type | Interface and Description |
---|---|
interface |
NestedList
A list of service functions that compose the service chain
|
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleCase
This class represents the following YANG schema fragment defined in module opendaylight-mdsal-binding-test
|
Modifier and Type | Method and Description |
---|---|
void |
TwoLevelListChangedBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
void |
TopBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
void |
ChoiceContainerBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
GetTopOutputBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Method and Description |
---|---|
void |
PutTopInputBuilder.fieldsFrom(TreeNode arg)
Set fields from given grouping argument.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestOperationServiceData
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
TestOperationServiceInCont2Action
Interface for implementing the following YANG Operation defined in module test-operation-service
|
interface |
TestOperationServiceInContAction
Interface for implementing the following YANG Operation defined in module test-operation-service
|
interface |
TestOperationServiceInListAction
Interface for implementing the following YANG Operation defined in module test-operation-service
|
interface |
TestOperationServiceMyRpcRpc
Interface for implementing the following YANG Operation defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
MyCont
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
MyList
This class represents the following YANG schema fragment defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
InContInput
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
InContOutput
This class represents the following YANG schema fragment defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
InCont2Input
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
InCont2Output
This class represents the following YANG schema fragment defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
InListInput
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
InListOutput
This class represents the following YANG schema fragment defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
MyRpcInput
This class represents the following YANG schema fragment defined in module test-operation-service
|
interface |
MyRpcOutput
This class represents the following YANG schema fragment defined in module test-operation-service
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestPatternData
This class represents the following YANG schema fragment defined in module test-pattern
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestData
This class represents the following YANG schema fragment defined in module test
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestListData
This class represents the following YANG schema fragment defined in module test-list
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestTypedefData
This class represents the following YANG schema fragment defined in module test-typedef
|
Modifier and Type | Interface and Description |
---|---|
interface |
DefaultPolicy
This class represents the following YANG schema fragment defined in module test-typedef
|
interface |
TestCont
This class represents the following YANG schema fragment defined in module test-typedef
|
Modifier and Type | Interface and Description |
---|---|
interface |
TestUnsignedIntegerData
This class represents the following YANG schema fragment defined in module test-unsigned-integer
|
Copyright © 2019 OpenDaylight. All rights reserved.