Class DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>

  • Enclosing class:
    DependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>

    public abstract static class DependentJob.OpWaitingJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
    extends DependentJob<T>
    • Constructor Detail

      • OpWaitingJob

        public OpWaitingJob​(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,
                            long transactionId)
    • 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 class DependentJob<T extends org.opendaylight.yangtools.yang.binding.Identifiable>
        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.Identifiable>