Package sk.iway.iwcm.system
Class ConstantsV9
java.lang.Object
sk.iway.iwcm.system.ConstantsV9
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 Summary
Modifier and TypeMethodDescriptionstatic voidInitializes configuration values introduced for WebJET 9.static String[]Deprecated, for removal: This API element is subject to removal in a future version.static String[]getArrayCached(String name, int cacheMinutes) Returns a comma-separated configuration value as a cached array.static List<ConfDetails>getValuesStartsWith(String prefix) Returns configuration entries whose names start with the supplied prefix.
-
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, 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
Returns a comma-separated configuration value as a cached array.- Parameters:
name- configuration keycacheMinutes- cache lifetime in minutes- Returns:
- configured values
-
getValuesStartsWith
Returns configuration entries whose names start with the supplied prefix.- Parameters:
prefix- configuration key prefix- Returns:
- matching configuration entries
-
Constants.getArray(String)