X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=opendaylight%2Fmd-sal%2Fsal-distributed-eos%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fentityownership%2Fmessages%2FCandidateAdded.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-eos%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fentityownership%2Fmessages%2FCandidateAdded.java;h=0000000000000000000000000000000000000000;hb=118c8b39d7bece6c3dc4adb8e27401a325b69692;hp=2fb6bda68caaacbd87f446ce18698c4b35924d3e;hpb=d8deaa4381251e0900a6ba50d1f16bab47ab8491;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-eos/src/main/java/org/opendaylight/controller/cluster/entityownership/messages/CandidateAdded.java b/opendaylight/md-sal/sal-distributed-eos/src/main/java/org/opendaylight/controller/cluster/entityownership/messages/CandidateAdded.java deleted file mode 100644 index 2fb6bda68c..0000000000 --- a/opendaylight/md-sal/sal-distributed-eos/src/main/java/org/opendaylight/controller/cluster/entityownership/messages/CandidateAdded.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. 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.controller.cluster.entityownership.messages; - -import java.util.Collection; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; - -/** - * Message sent when a new candidate is added for an entity. - * - * @author Moiz Raja - * @author Thomas Pantelis - */ -public class CandidateAdded { - private final YangInstanceIdentifier entityPath; - private final Collection allCandidates; - private final String newCandidate; - - public CandidateAdded(final YangInstanceIdentifier entityPath, final String newCandidate, - final Collection allCandidates) { - this.entityPath = entityPath; - this.newCandidate = newCandidate; - this.allCandidates = allCandidates; - } - - public YangInstanceIdentifier getEntityPath() { - return entityPath; - } - - public Collection getAllCandidates() { - return allCandidates; - } - - public String getNewCandidate() { - return newCandidate; - } - - @Override - public String toString() { - return "CandidateAdded [entityPath=" + entityPath + ", newCandidate=" + newCandidate + ", allCandidates=" - + allCandidates + "]"; - } -}