2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.connectionmanager.internal;
10 public enum ConnectionMgmtEventType {
11 NODE_DISCONNECTED_FROM_MASTER("Node is disconnected from master"),
12 CLUSTER_VIEW_CHANGED("Cluster Composition changed");
14 private ConnectionMgmtEventType(String name) {
20 public String toString() {
24 public static ConnectionMgmtEventType fromString(String pName) {
25 for(ConnectionMgmtEventType p:ConnectionMgmtEventType.values()) {
26 if (p.toString().equals(pName)) {