Package org.kie.internal.utils
Class ChainedProperties
java.lang.Object
org.kie.internal.utils.ChainedProperties
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable
Priority
- System properties
- META-INF/ of provided classLoader
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProperties(Properties properties) Specifically added properties take priority, so they go to the front of the list.clone()voidstatic ChainedPropertiesgetChainedProperties(ClassLoader classLoader) static ChainedPropertiesgetChainedProperties(String confFileName, ClassLoader classLoader) getProperty(String key, String defaultValue) voidmapStartsWith(Map<String, String> map, String startsWith, boolean includeSubProperties) voidvoid
-
Field Details
-
logger
protected static transient org.slf4j.Logger logger
-
-
Constructor Details
-
ChainedProperties
public ChainedProperties()
-
-
Method Details
-
getChainedProperties
-
getChainedProperties
-
clone
-
filterDroolsPropertiesForSerialization
public void filterDroolsPropertiesForSerialization() -
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
addProperties
Specifically added properties take priority, so they go to the front of the list. -
getProperty
-
mapStartsWith
-