public class SourceSpecificContext extends Object implements NamespaceBehaviour.NamespaceStorageNode, NamespaceBehaviour.Registry, Mutable
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceSpecificContext.PhaseCompletionProgress |
| Modifier and Type | Method and Description |
|---|---|
<K,V,N extends IdentifierNamespace<K,V>> |
getAllFromLocalStorage(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
getFromLocalStorage(Class<N> type,
K key) |
<K,V,N extends IdentifierNamespace<K,V>> |
getNamespaceBehaviour(Class<N> type)
Get a namespace behavior.
|
NamespaceBehaviour.NamespaceStorageNode |
getParentNamespaceStorage() |
NamespaceBehaviour.StorageNodeType |
getStorageNodeType()
Return local namespace behaviour type.
|
Set<YangVersion> |
getSupportedVersions() |
<K,V,N extends IdentifierNamespace<K,V>> |
putToLocalStorage(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair, overwriting previous contents.
|
<K,V,N extends IdentifierNamespace<K,V>> |
putToLocalStorageIfAbsent(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair unless the key is already associated with a value.
|
String |
toString() |
public <K,V,N extends IdentifierNamespace<K,V>> V putToLocalStorage(Class<N> type, K key, V value)
NamespaceBehaviour.NamespaceStorageNodeMap.put(Object, Object).putToLocalStorage in interface NamespaceBehaviour.NamespaceStorageNodetype - Namespace identifierkey - Keyvalue - Valuepublic <K,V,N extends IdentifierNamespace<K,V>> V putToLocalStorageIfAbsent(Class<N> type, K key, V value)
NamespaceBehaviour.NamespaceStorageNodeMap.putIfAbsent(Object, Object).putToLocalStorageIfAbsent in interface NamespaceBehaviour.NamespaceStorageNodetype - Namespace identifierkey - Keyvalue - Valuepublic NamespaceBehaviour.StorageNodeType getStorageNodeType()
NamespaceBehaviour.NamespaceStorageNodegetStorageNodeType in interface NamespaceBehaviour.NamespaceStorageNodeNamespaceBehaviourpublic <K,V,N extends IdentifierNamespace<K,V>> V getFromLocalStorage(Class<N> type, K key)
getFromLocalStorage in interface NamespaceBehaviour.NamespaceStorageNodepublic <K,V,N extends IdentifierNamespace<K,V>> Map<K,V> getAllFromLocalStorage(Class<N> type)
getAllFromLocalStorage in interface NamespaceBehaviour.NamespaceStorageNodepublic <K,V,N extends IdentifierNamespace<K,V>> NamespaceBehaviour<K,V,N> getNamespaceBehaviour(Class<N> type)
NamespaceBehaviour.RegistrygetNamespaceBehaviour in interface NamespaceBehaviour.RegistryK - key typeV - value typeN - namespace typetype - Namespace type classpublic NamespaceBehaviour.NamespaceStorageNode getParentNamespaceStorage()
getParentNamespaceStorage in interface NamespaceBehaviour.NamespaceStorageNodepublic Set<YangVersion> getSupportedVersions()
Copyright © 2019 OpenDaylight. All rights reserved.