Class SystemUtil


  • public class SystemUtil
    extends java.lang.Object
    System-related utilities.
    Since:
    16.1.0
    Version:
    $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Tuple3<java.lang.Boolean,​java.lang.String,​java.util.List<java.lang.String>> checkDatabaseVersion()
      Returns a tuple containing a boolean that indicates whether the database version is valid, a string consisting of the database product name and version and a list of valid database versions.
      • Methods inherited from class java.lang.Object

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

      • SystemUtil

        public SystemUtil()
    • Method Detail

      • checkDatabaseVersion

        public static Tuple3<java.lang.Boolean,​java.lang.String,​java.util.List<java.lang.String>> checkDatabaseVersion()
                                                                                                                            throws PortalException
        Returns a tuple containing a boolean that indicates whether the database version is valid, a string consisting of the database product name and version and a list of valid database versions.
        Returns:
        a tuple containing a boolean that indicates whether the database version is valid, a string consisting of the database product name and version and a list of valid database versions.
        Throws:
        PortalException
        Since:
        16.1.0