f46d51f324d160b65e7aa4d97e326becca45a9ac
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / transact / EmptyDependencyGetter.java
1 /*
2  * Copyright (c) 2020 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.ovsdb.hwvtepsouthbound.transact;
10
11 import java.util.Collections;
12 import java.util.List;
13
14 import org.opendaylight.yangtools.yang.binding.Identifiable;
15 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
16
17 public final class EmptyDependencyGetter extends UnMetDependencyGetter {
18
19     public static final EmptyDependencyGetter INSTANCE = new EmptyDependencyGetter();
20
21     private EmptyDependencyGetter() {
22     }
23
24     @Override
25     public List<InstanceIdentifier<?>> getLogicalSwitchDependencies(Identifiable data) {
26         return Collections.EMPTY_LIST;
27     }
28
29     @Override
30     public List<InstanceIdentifier<?>> getTerminationPointDependencies(Identifiable data) {
31         return Collections.EMPTY_LIST;
32     }
33 }