Class ClassProperties
Does the heavy lifting of collecting values off Properties annotations found
on enclosing classes. Operates for the desired "platform" value specified
in
Properties. As a HashMap, it makes the result
easily accessible, and mutable.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAll(String key, Collection<String> values) getProperty(String key) getProperty(String key, String defaultValue) booleanisLoaded()voidsetProperty(String key, String value) Methods inherited from class HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class AbstractMap
equals, hashCode, toString
-
Field Details
-
Constructor Details
-
ClassProperties
public ClassProperties() -
ClassProperties
-
-
Method Details
-
get
-
addAll
-
addAll
-
getProperty
-
getProperty
-
setProperty
-
load
-
getInheritedClasses
-
getEffectiveClasses
-
isLoaded
public boolean isLoaded()
-