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 TypeMethodDescriptionvoidclear()voidclearAll()voidbooleanvoidforEach(String key, BiConsumer<String,String> setProperty)voidforEach(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>booleanbooleanhasBoolean(String key)booleanhasDefault(String key)booleanhasDefaultBoolean(String key)booleanhasDefaultDouble(String key)booleanhasDefaultInteger(String key)booleanhasDefaultList(String key)booleanhasDefaultString(String key)booleaninthashCode()booleanhasInteger(String key)booleanbooleanbooleanvoidmerge(Configuration configuration)voidmergeDefaults(Configuration configuration)voidmergeProperties(Configuration configuration)voidvoidremoveDefault(String key)voidvoidsetDefault(String key, Object value)voidsetDefaultProperties(Map<String,Object> defaultProperties)voidsetProperties(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
-