Package com.chillycheesy.modulo.config
Class Configuration
java.lang.Object
com.chillycheesy.modulo.config.Configuration
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
clearAll()
void
boolean
void
forEach(String key, BiConsumer<String,String> setProperty)
void
forEach(BiConsumer<String,String> setProperty)
getBoolean(String key)
getBoolean(String key, Boolean defaultValue)
getDefault(String key)
getDefaultBoolean(String key)
getDefaultBoolean(String key, Boolean defaultValue)
getDefaultDouble(String key)
getDefaultDouble(String key, Double defaultValue)
getDefaultInteger(String key)
getDefaultInteger(String key, Integer defaultValue)
<T> List<T>
getDefaultList(String key)
<T> List<T>
getDefaultList(String key, List<T> defaultValue)
getDefaultString(String key)
getDefaultString(String key, String defaultValue)
getInteger(String key)
getInteger(String key, Integer defaultValue)
<T> List<T>
<T> List<T>
boolean
boolean
hasBoolean(String key)
boolean
hasDefault(String key)
boolean
hasDefaultBoolean(String key)
boolean
hasDefaultDouble(String key)
boolean
hasDefaultInteger(String key)
boolean
hasDefaultList(String key)
boolean
hasDefaultString(String key)
boolean
int
hashCode()
boolean
hasInteger(String key)
boolean
boolean
boolean
void
merge(Configuration configuration)
void
mergeDefaults(Configuration configuration)
void
mergeProperties(Configuration configuration)
void
void
removeDefault(String key)
void
void
setDefault(String key, Object value)
void
setDefaultProperties(Map<String,Object> defaultProperties)
void
setProperties(Map<String,Object> properties)
toString()
-
Field Details
-
properties
-
defaultProperties
-
-
Constructor Details
-
Configuration
-
Configuration
-
Configuration
public Configuration()
-
-
Method Details
-
get
-
getString
-
getString
-
getInteger
-
getInteger
-
getDouble
-
getDouble
-
getBoolean
-
getBoolean
-
getList
-
getList
-
getDefault
-
getDefaultString
-
getDefaultString
-
getDefaultInteger
-
getDefaultInteger
-
getDefaultDouble
-
getDefaultDouble
-
getDefaultBoolean
-
getDefaultBoolean
-
getDefaultList
-
getDefaultList
-
set
-
setDefault
-
remove
-
removeDefault
-
has
-
hasList
-
hasString
-
hasInteger
-
hasDouble
-
hasBoolean
-
hasDefault
-
hasDefaultString
-
hasDefaultInteger
-
hasDefaultDouble
-
hasDefaultBoolean
-
hasDefaultList
-
getProperties
-
getDefaultProperties
-
setProperties
-
setDefaultProperties
-
clear
public void clear() -
clearDefaults
public void clearDefaults() -
clearAll
public void clearAll() -
merge
-
mergeDefaults
-
mergeProperties
-
getMergedProperties
-
isModified
public boolean isModified() -
forEach
-
forEach
-
equals
-
hashCode
public int hashCode() -
toString
-