Bug 868: Remove AD-SAL components which were deprecated in Lithium
[controller.git] / opendaylight / adsal / connectionmanager / implementation / src / main / java / org / opendaylight / controller / connectionmanager / internal / ConnectionMgmtEventType.java
diff --git a/opendaylight/adsal/connectionmanager/implementation/src/main/java/org/opendaylight/controller/connectionmanager/internal/ConnectionMgmtEventType.java b/opendaylight/adsal/connectionmanager/implementation/src/main/java/org/opendaylight/controller/connectionmanager/internal/ConnectionMgmtEventType.java
deleted file mode 100644 (file)
index cefae55..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2014 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.connectionmanager.internal;
-
-public enum ConnectionMgmtEventType {
-    NODE_DISCONNECTED_FROM_MASTER("Node is disconnected from master"),
-    CLUSTER_VIEW_CHANGED("Cluster Composition changed");
-
-    private ConnectionMgmtEventType(String name) {
-        this.name = name;
-    }
-
-    private String name;
-
-    public String toString() {
-        return name;
-    }
-
-    public static ConnectionMgmtEventType fromString(String pName) {
-        for(ConnectionMgmtEventType p:ConnectionMgmtEventType.values()) {
-            if (p.toString().equals(pName)) {
-                return p;
-            }
-        }
-        return null;
-    }
-}