Class UnMetDependencyGetter<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.UnMetDependencyGetter<T>
- Direct Known Subclasses:
EmptyDependencyGetter
,McastMacsLocalRemoveCommand.MacDependencyGetter
,UcastMacsLocalRemoveCommand.MacDependencyGetter
public abstract class UnMetDependencyGetter<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
extends Object
Utility class to retrieve the unmet dependencies (config/operational) of the given object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMap<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,
List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> getInTransitDependencies
(HwvtepOperationalState opState, T data) Returns the iids this data depends upon which are already intransit in the previous transaction if any.abstract List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>>
abstract List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>>
Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,
List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> getUnMetConfigDependencies
(HwvtepOperationalState opState, T data) Returns the iids this data depends upon which are not yet present in the config data store if any.
-
Constructor Details
-
UnMetDependencyGetter
public UnMetDependencyGetter()
-
-
Method Details
-
getInTransitDependencies
public Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> getInTransitDependencies(HwvtepOperationalState opState, T data) Returns the iids this data depends upon which are already intransit in the previous transaction if any.- Parameters:
opState
- The operatonal statedata
- The data object- Returns:
- The depenencies
-
getUnMetConfigDependencies
public Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> getUnMetConfigDependencies(HwvtepOperationalState opState, T data) Returns the iids this data depends upon which are not yet present in the config data store if any.- Parameters:
opState
- The operatonal statedata
- The data object- Returns:
- the depenencies
-
getLogicalSwitchDependencies
-
getTerminationPointDependencies
-