Class SystemProperties

java.lang.Object
com.aquima.interactions.foundation.utility.SystemProperties

public final class SystemProperties extends Object
This class can be used to retrieve system properties. FOR INTERNAL USE ONLY
Since:
6.0
Author:
F. van der Meer
  • Method Details

    • getProperty

      public static String getProperty(String key)
      Returns the property value defined in the java virtual machine.
      Parameters:
      key - Property name
      Returns:
      The property value, which should never be null.
      Throws:
      LookupFailureException - When the property was not defined.
    • hasProperty

      public static boolean hasProperty(String key)
      This method check if the specified property is defined.
      Parameters:
      key - The name of the property for which should be check if it is defined.
      Returns:
      Boolean indicating if the specified property is available.
    • getConfigurationLocation

      public static File getConfigurationLocation()
    • getConfigurationLocationUrl

      public static URL getConfigurationLocationUrl()
    • setConfigurationLocation

      public static void setConfigurationLocation(File location)
      This method set the location where configuration is placed
      Parameters:
      location - the location where configuration is location
    • setConfigurationLocation

      public static void setConfigurationLocation(URL fileUrl)
      This method set the location where configuration is placed
      Parameters:
      fileUrl - the location where configuration is location
    • hasConfigurationLocation

      public static boolean hasConfigurationLocation()
    • clearConfigurationLocation

      public static void clearConfigurationLocation()