Package io.inugami.api.configurtation
Interface ConfigurationSpi
-
public interface ConfigurationSpiThe ConfigurationSpi allows to retrieve global configuration. Your implementation should be listed in file /MTA-INF/services/io.inugami.api.configurtation.ConfigurationSpi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBooleanProperty(String key)booleangetBooleanProperty(String key, boolean defaultValue)doublegetDoubleProperty(String key)doublegetDoubleProperty(String key, double defaultValue)intgetIntProperty(String key)intgetIntProperty(String key, int defaultValue)longgetLongProperty(String key)longgetLongProperty(String key, long defaultValue)StringgetProperty(String key)StringgetProperty(String key, String defaultValue)
-
-
-
Method Detail
-
getBooleanProperty
boolean getBooleanProperty(String key)
-
getBooleanProperty
boolean getBooleanProperty(String key, boolean defaultValue)
-
getIntProperty
int getIntProperty(String key)
-
getIntProperty
int getIntProperty(String key, int defaultValue)
-
getLongProperty
long getLongProperty(String key)
-
getLongProperty
long getLongProperty(String key, long defaultValue)
-
getDoubleProperty
double getDoubleProperty(String key)
-
getDoubleProperty
double getDoubleProperty(String key, double defaultValue)
-
-