X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fmessages%2FCandidateRemoved.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fmessages%2FCandidateRemoved.java;h=0000000000000000000000000000000000000000;hb=f9ee2cce797cf12402dd55c406f3e270d7d2e20d;hp=64a333f2f1234433e73a57b1c8b2b0a072330797;hpb=44d274e8a4282ef859a35369c563e4963cf2185a;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/messages/CandidateRemoved.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/messages/CandidateRemoved.java deleted file mode 100644 index 64a333f2f1..0000000000 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/messages/CandidateRemoved.java +++ /dev/null @@ -1,49 +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.datastore.entityownership.messages; - -import java.util.Collection; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; - -/** - * Message sent when a candidate is removed for an entity. - * - * @author Moiz Raja - * @author Thomas Pantelis - */ -public class CandidateRemoved { - private final YangInstanceIdentifier entityPath; - private final String removedCandidate; - private final Collection remainingCandidates; - - public CandidateRemoved(YangInstanceIdentifier entityPath, String removedCandidate, - Collection remainingCandidates) { - this.entityPath = entityPath; - this.removedCandidate = removedCandidate; - this.remainingCandidates = remainingCandidates; - } - - public YangInstanceIdentifier getEntityPath() { - return entityPath; - } - - public String getRemovedCandidate() { - return removedCandidate; - } - - public Collection getRemainingCandidates() { - return remainingCandidates; - } - - @Override - public String toString() { - return "CandidateRemoved [entityPath=" + entityPath + ", removedCandidate=" + removedCandidate - + ", remainingCandidates=" + remainingCandidates + "]"; - } -}