public class SystemConf
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
systemConfSeparator |
java.util.Map<java.lang.String,java.lang.String> |
values |
Constructor and Description |
---|
SystemConf() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
booleanValue(java.lang.String prop) |
<T> T |
convertedValue(java.lang.String prop,
java.util.function.Function<java.lang.String,T> func,
T defaultValue) |
static SystemConf |
create(java.util.Map<java.lang.String,java.lang.String> values) |
java.lang.Integer |
integerValue(java.lang.String prop) |
boolean |
isArchiveKindSds() |
static boolean |
isSdsArchiveKind(java.lang.String archiveKindName) |
static java.util.Map<java.lang.String,java.lang.String> |
merge(SystemConf previous,
java.util.Map<java.lang.String,java.lang.String> newValues)
Merge newValues to previous and remove key with null value
|
void |
setStringListValue(java.lang.String prop,
java.util.List<java.lang.String> notifiedEmails) |
java.util.List<java.lang.String> |
stringList(java.lang.String prop) |
java.lang.String |
stringValue(java.lang.String prop) |
public java.util.Map<java.lang.String,java.lang.String> values
public static final java.lang.String systemConfSeparator
public java.lang.String stringValue(java.lang.String prop)
public java.lang.Boolean booleanValue(java.lang.String prop)
public java.util.List<java.lang.String> stringList(java.lang.String prop)
public void setStringListValue(java.lang.String prop, java.util.List<java.lang.String> notifiedEmails)
public <T> T convertedValue(java.lang.String prop, java.util.function.Function<java.lang.String,T> func, T defaultValue)
public static SystemConf create(java.util.Map<java.lang.String,java.lang.String> values)
public static java.util.Map<java.lang.String,java.lang.String> merge(SystemConf previous, java.util.Map<java.lang.String,java.lang.String> newValues)
previous
- newValues
- public java.lang.Integer integerValue(java.lang.String prop)
public boolean isArchiveKindSds()
public static boolean isSdsArchiveKind(java.lang.String archiveKindName)
Copyright © 2021. All Rights Reserved.