Class GlobalProperties

java.lang.Object
de.aristaflow.adept2.base.configuration.GlobalProperties

public final class GlobalProperties extends Object
This file provides direct access to the global properties of AristaFlow. They are initialised when creating the boot configuration manager.
  • Constructor Details

    • GlobalProperties

      public GlobalProperties()
  • Method Details

    • getOsName

      public static String getOsName()
      Gets the name of the OS this installation is running on. This is used to resolve OS-specific issues, for instance, implicitly using extensions for executable files.
      Returns:
      The name of the OS this installation is running on.
    • getUtcZoneId

      public static ZoneId getUtcZoneId()
      Gets the ID of the UTC timezone.
      Returns:
      The ID of the UTC timezone.
    • getTempDir

      public static File getTempDir()
      Gets the temporary directory of the JVM.
      Returns:
      The temporary directory of the JVM.