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 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 state
      data - 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 state
      data - The data object
      Returns:
      the depenencies
    • getLogicalSwitchDependencies

      public abstract List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>> getLogicalSwitchDependencies(T data)
    • getTerminationPointDependencies

      public abstract List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>> getTerminationPointDependencies(T data)