Package kieker.common.configuration
Class ReadOnlyConfiguration
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
kieker.common.configuration.Configuration
kieker.common.configuration.ReadOnlyConfiguration
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
- Since:
- 1.13
- Author:
- Christian Wulf
- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionReadOnlyConfiguration(Properties properties) Create a read only configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidload(InputStream inStream) voidvoidvoidvoidsetDefaultConfiguration(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.setProperty(String key, String value) voidsetStringArrayProperty(String key, String[] value) Sets a property to the given string array.Methods inherited from class kieker.common.configuration.Configuration
convertToPath, flatten, flatten, flattenInPlace, get, getBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getEnumProperty, getIntProperty, getIntProperty, getLongProperty, getLongProperty, getPathProperty, getPropertiesStartingWith, getProperty, getProperty, getStringArrayProperty, getStringArrayProperty, getStringProperty, getStringProperty, put, setProperty, setProperty, setProperty, setProperty, toPropertyMethods inherited from class java.util.Properties
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Constructor Details
-
ReadOnlyConfiguration
Create a read only configuration.- Parameters:
properties- properties of the configuration
-
-
Method Details
-
setProperty
- Overrides:
setPropertyin classProperties
-
setDefaultConfiguration
Description copied from class:ConfigurationYou 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.- Overrides:
setDefaultConfigurationin classConfiguration- Parameters:
defaultConfiguration- The default configuration for this configuration object.
-
setStringArrayProperty
Description copied from class:ConfigurationSets a property to the given string array. Note that the values must not contain the separator character '|'.- Overrides:
setStringArrayPropertyin classConfiguration- Parameters:
key- The key of the property to changevalue- The array to set
-
clear
public void clear() -
load
- Overrides:
loadin classProperties- Throws:
IOException
-
load
- Overrides:
loadin classProperties- Throws:
IOException
-
loadFromXML
- Overrides:
loadFromXMLin classProperties- Throws:
IOException
-
putAll
-
remove
-