Package io.tesler.api.system
Interface SystemSettings
-
- All Known Implementing Classes:
SystemSettingsImpl
public interface SystemSettings
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicReference<SystemSettings>
instance
static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBooleanValue(LOV key)
int
getIntegerValue(LOV key, int defaultValue)
List<String>
getListValue(LOV key)
long
getLongValue(LOV key, long defaultValue)
String
getValue(LOV key)
String
getValue(LOV key, String defaultValue)
void
reload()
Stream<? extends org.apache.commons.lang3.tuple.Pair<String,String>>
select(Predicate<String> predicate)
static SystemSettings
systemSettings()
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
instance
static final AtomicReference<SystemSettings> instance
-
-
Method Detail
-
systemSettings
static SystemSettings systemSettings()
-
getBooleanValue
boolean getBooleanValue(LOV key)
-
getIntegerValue
int getIntegerValue(LOV key, int defaultValue)
-
getLongValue
long getLongValue(LOV key, long defaultValue)
-
reload
void reload()
-
-