X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pcep%2Ftopology-provider%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fbgpcep%2Fpcep%2Ftopology%2Fprovider%2Fconfig%2FPCEPTopologyConfigDependencies.java;fp=pcep%2Ftopology-provider%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fbgpcep%2Fpcep%2Ftopology%2Fprovider%2Fconfig%2FPCEPTopologyConfigDependencies.java;h=0000000000000000000000000000000000000000;hb=048cf910960206bf92a7dbfbc1a02b24a41f6591;hp=9c1a55d6de1128c82b89f2ba4ee6e8c7a3d4f7ae;hpb=004a235ef03cf72dd39e91a2085fa94fd5c1c80d;p=bgpcep.git diff --git a/pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyConfigDependencies.java b/pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyConfigDependencies.java deleted file mode 100644 index 9c1a55d6de..0000000000 --- a/pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/config/PCEPTopologyConfigDependencies.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.bgpcep.pcep.topology.provider.config; - -import static com.google.common.base.Preconditions.checkNotNull; - -import com.google.common.base.Optional; -import java.net.InetSocketAddress; -import org.opendaylight.bgpcep.programming.spi.InstructionScheduler; -import org.opendaylight.controller.config.yang.pcep.topology.provider.PCEPTopologyProviderRuntimeRegistrator; -import org.opendaylight.protocol.concepts.KeyMapping; -import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId; - -public final class PCEPTopologyConfigDependencies { - private final InetSocketAddress address; - private final KeyMapping keys; - private final InstructionScheduler scheduler; - private final TopologyId topologyId; - private final Optional runtime; - private final short rpcTimeout; - - public PCEPTopologyConfigDependencies(final InetSocketAddress address, final KeyMapping keys, - final InstructionScheduler scheduler, final TopologyId topologyId, - final Optional runtime, final short rpcTimeout) { - this.address = checkNotNull(address); - this.keys = checkNotNull(keys); - this.scheduler = checkNotNull(scheduler); - this.topologyId = checkNotNull(topologyId); - this.runtime = checkNotNull(runtime); - this.rpcTimeout = rpcTimeout; - } - - public TopologyId getTopologyId() { - return this.topologyId; - } - - public InstructionScheduler getSchedulerDependency() { - return this.scheduler; - } - - public short getRpcTimeout() { - return this.rpcTimeout; - } - - public Optional getRuntimeRootRegistrator() { - return this.runtime; - } - - public InetSocketAddress getAddress() { - return this.address; - } - - public KeyMapping getKeys() { - return this.keys; - } -}