Class OakVersion


  • public final class OakVersion
    extends Object
    Provides version information about Oak.
    • Method Detail

      • getVersion

        @NotNull
        public static @NotNull String getVersion​(String moduleName,
                                                 Class clazz)
        Returns the version of an Oak module.
        Parameters:
        moduleName - the name of the module
        clazz - a class of the module
        Returns:
        the version (or "SNAPSHOT" when unknown)