Class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
- 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.Identifiable>
public abstract static class DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable> extends DependentJob<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob
DependentJob.ConfigWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>, DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isDependencyMet(HwvtepDeviceInfo deviceInfo, Class cls, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid)
This method is to check if all the given dependency of this job or not.-
Methods inherited from class org.opendaylight.ovsdb.hwvtepsouthbound.transact.DependentJob
getData, getKey, isConfigWaitingJob, onDependencyResolved, onFailure, onSuccess
-
-
-
-
Method Detail
-
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 classDependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
- Parameters:
deviceInfo
- The device info of tis jobcls
- dependency type to be checked foriid
- instance identifier to be checked for- Returns:
- true if the dependency is met
-
-