public class ReadOnlyConfiguration extends Configuration
| Constructor and Description |
|---|
ReadOnlyConfiguration(java.util.Properties properties)
Create a read only configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
load(java.io.InputStream inStream) |
void |
load(java.io.Reader reader) |
void |
loadFromXML(java.io.InputStream in) |
void |
putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> t) |
java.lang.Object |
remove(java.lang.Object key) |
void |
setDefaultConfiguration(Configuration defaultConfiguration)
You should know what you do if you use this method!
Currently it is used for a (dirty) hack to add default configurations to Writers or AnalysisPlugins.
|
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value) |
void |
setStringArrayProperty(java.lang.String key,
java.lang.String[] value)
Sets a property to the given string array.
|
convertToPath, flatten, flatten, flattenInPlace, get, getBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getIntProperty, getIntProperty, getLongProperty, getLongProperty, getPathProperty, getPropertiesStartingWith, getProperty, getProperty, getStringArrayProperty, getStringArrayProperty, getStringProperty, getStringProperty, put, setProperty, setProperty, setProperty, setProperty, toPropertylist, list, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamesclone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, toString, valuespublic ReadOnlyConfiguration(java.util.Properties properties)
properties - properties of the configurationpublic java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
setProperty in class java.util.Propertiespublic void setDefaultConfiguration(Configuration defaultConfiguration)
ConfigurationsetDefaultConfiguration in class ConfigurationdefaultConfiguration - The default configuration for this configuration object.public void setStringArrayProperty(java.lang.String key,
java.lang.String[] value)
ConfigurationsetStringArrayProperty in class Configurationkey - The key of the property to changevalue - The array to setpublic void clear()
clear in interface java.util.Map<java.lang.Object,java.lang.Object>clear in class java.util.Hashtable<java.lang.Object,java.lang.Object>public void load(java.io.InputStream inStream)
throws java.io.IOException
load in class java.util.Propertiesjava.io.IOExceptionpublic void load(java.io.Reader reader)
throws java.io.IOException
load in class java.util.Propertiesjava.io.IOExceptionpublic void loadFromXML(java.io.InputStream in)
throws java.io.IOException
loadFromXML in class java.util.Propertiesjava.io.IOExceptionpublic void putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> t)
putAll in interface java.util.Map<java.lang.Object,java.lang.Object>putAll in class java.util.Hashtable<java.lang.Object,java.lang.Object>public java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Map<java.lang.Object,java.lang.Object>remove in class java.util.Hashtable<java.lang.Object,java.lang.Object>Copyright 2020 Kieker Project, http://kieker-monitoring.net