X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcommon%2FGlobalDataStore.java;fp=opendaylight%2Fmd-sal%2Fsal-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcommon%2FGlobalDataStore.java;h=1c302383e17c96c53d17a46ff2c4667e6d730688;hp=0000000000000000000000000000000000000000;hb=79db2e7680daae3ec2a521b5cb14fa62479258ca;hpb=ad706e68a0c5680523728fe7e4d94f704ef04952 diff --git a/opendaylight/md-sal/sal-common/src/main/java/org/opendaylight/controller/sal/common/GlobalDataStore.java b/opendaylight/md-sal/sal-common/src/main/java/org/opendaylight/controller/sal/common/GlobalDataStore.java new file mode 100644 index 0000000000..1c302383e1 --- /dev/null +++ b/opendaylight/md-sal/sal-common/src/main/java/org/opendaylight/controller/sal/common/GlobalDataStore.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2013 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.sal.common; + +public enum GlobalDataStore implements DataStoreIdentifier { + RuntimeInfo("Runtime Info"), Configuration("Configuration"); + + private final String name; + + GlobalDataStore(String name) { + this.name = name; + } + + @Override + public Object getIdentifier() { + return this; + } + + @Override + public String getName() { + return this.name; + } + +}