X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FDataStoreVersions.java;h=eb444f2d8f096c64871ee59d3bce8f1fb689fb81;hp=1f22222b5bce9d99a6de314daaf044f8151ebc8b;hb=HEAD;hpb=fcf65d723ef53f8da2dd6347f41ce19016fc36e5 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataStoreVersions.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataStoreVersions.java index 1f22222b5b..996fe1023d 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataStoreVersions.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataStoreVersions.java @@ -8,14 +8,33 @@ package org.opendaylight.controller.cluster.datastore; /** - * Defines version numbers. + * Defines version numbers where ask-based protocol is concerned. * * @author Thomas Pantelis */ -public interface DataStoreVersions { - short BASE_HELIUM_VERSION = 0; - short HELIUM_1_VERSION = 1; - short HELIUM_2_VERSION = 2; - short LITHIUM_VERSION = 3; - short CURRENT_VERSION = LITHIUM_VERSION; +public final class DataStoreVersions { + @Deprecated + public static final short BASE_HELIUM_VERSION = 0; + @Deprecated + public static final short HELIUM_1_VERSION = 1; + @Deprecated + public static final short HELIUM_2_VERSION = 2; + @Deprecated + public static final short LITHIUM_VERSION = 3; + @Deprecated + public static final short BORON_VERSION = 5; + @Deprecated + public static final short FLUORINE_VERSION = 9; + @Deprecated + public static final short NEON_SR2_VERSION = 10; + @Deprecated + public static final short SODIUM_SR1_VERSION = 11; + @Deprecated + public static final short PHOSPHORUS_VERSION = 12; + public static final short POTASSIUM_VERSION = 13; + public static final short CURRENT_VERSION = POTASSIUM_VERSION; + + private DataStoreVersions() { + + } }