1c302383e17c96c53d17a46ff2c4667e6d730688
[controller.git] / opendaylight / md-sal / sal-common / src / main / java / org / opendaylight / controller / sal / common / GlobalDataStore.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.controller.sal.common;\r
9 \r
10 public enum GlobalDataStore implements DataStoreIdentifier {\r
11     RuntimeInfo("Runtime Info"), Configuration("Configuration");\r
12 \r
13     private final String name;\r
14 \r
15     GlobalDataStore(String name) {\r
16         this.name = name;\r
17     }\r
18 \r
19     @Override\r
20     public Object getIdentifier() {\r
21         return this;\r
22     }\r
23 \r
24     @Override\r
25     public String getName() {\r
26         return this.name;\r
27     }\r
28 \r
29 }\r