Class ConstantsV9

java.lang.Object
sk.iway.iwcm.system.ConstantsV9

public class ConstantsV9 extends Object
Defines default configuration values introduced for WebJET 9 and later versions. Defaults already declared in Constants must be updated there instead of being overridden in this class.
  • Method Details

    • clearValuesWebJet9

      public static void clearValuesWebJet9()
      Initializes configuration values introduced for WebJET 9. This method is reimplemented in the WebJET 9 distribution and must remain compatible with it.
    • getArray

      @Deprecated(forRemoval=true) public static String[] getArray(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a comma-separated configuration value as an array.
      Parameters:
      name - configuration key
      Returns:
      configured values
    • getArrayCached

      public static String[] getArrayCached(String name, int cacheMinutes)
      Returns a comma-separated configuration value as a cached array.
      Parameters:
      name - configuration key
      cacheMinutes - cache lifetime in minutes
      Returns:
      configured values
    • getValuesStartsWith

      public static List<ConfDetails> getValuesStartsWith(String prefix)
      Returns configuration entries whose names start with the supplied prefix.
      Parameters:
      prefix - configuration key prefix
      Returns:
      matching configuration entries