Class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>

java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob<T>
org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob.ConfigWaitingJob<T>
Enclosing class:
DependentJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>

public abstract static class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware> extends DependentJob<T>
  • Constructor Details

    • ConfigWaitingJob

      public ConfigWaitingJob(org.opendaylight.yangtools.yang.binding.InstanceIdentifier key, T data, Map<Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>,List<org.opendaylight.yangtools.yang.binding.InstanceIdentifier>> dependencies)
  • Method Details

    • isDependencyMet

      protected boolean isDependencyMet(HwvtepDeviceInfo deviceInfo, Class cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid)
      Description copied from class: DependentJob
      This method is to check if all the given dependency of this job or not.
      Specified by:
      isDependencyMet in class DependentJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>
      Parameters:
      deviceInfo - The device info of tis job
      cls - dependency type to be checked for
      iid - instance identifier to be checked for
      Returns:
      true if the dependency is met
    • isConfigWaitingJob

      public boolean isConfigWaitingJob()
      Overrides:
      isConfigWaitingJob in class DependentJob<T extends org.opendaylight.yangtools.yang.binding.KeyAware>