Class CasVersion


  • public class CasVersion
    extends java.lang.Object
    Class that exposes the CAS version. Fetches the "Implementation-Version" manifest attribute from the jar file.
    Since:
    3.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CasVersion()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String asString()
      To string.
      static java.time.ZonedDateTime getDateTime()
      Gets last modified date/time for the module.
      static java.lang.String getSpecificationVersion()
      Gets specification version from the manifest package.
      static java.lang.String getVersion()
      The full CAS version string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CasVersion

        public CasVersion()
    • Method Detail

      • asString

        public static java.lang.String asString()
        To string.
        Returns:
        the string
      • getVersion

        public static java.lang.String getVersion()
        The full CAS version string.
        Returns:
        Return the full CAS version string.
        See Also:
        Package.getImplementationVersion()
      • getSpecificationVersion

        public static java.lang.String getSpecificationVersion()
        Gets specification version from the manifest package.
        Returns:
        the specification version
      • getDateTime

        public static java.time.ZonedDateTime getDateTime()
        Gets last modified date/time for the module.
        Returns:
        the date/time