Class ConfigUtilsKt
-
- All Implemented Interfaces:
public final class ConfigUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static String
getAsNewLineSeparatedString(MemorySection $self, String key)
final static Long
getDurationAsTicks(MemorySection $self, String key, Long defaultValue)
final static Long
getDurationAsMillis(MemorySection $self, String key, Long defaultValue)
final static List<String>
getAsStringList(MemorySection $self, String key)
Get a list of strings, no matter if the value is a list or a single string. -
-
Method Detail
-
getAsNewLineSeparatedString
final static String getAsNewLineSeparatedString(MemorySection $self, String key)
-
getDurationAsTicks
final static Long getDurationAsTicks(MemorySection $self, String key, Long defaultValue)
-
getDurationAsMillis
final static Long getDurationAsMillis(MemorySection $self, String key, Long defaultValue)
-
getAsStringList
final static List<String> getAsStringList(MemorySection $self, String key)
Get a list of strings, no matter if the value is a list or a single string.
- Parameters:
key
- Key- Returns:
List of strings
-
-
-
-