Class ComponentPropertyParser
java.lang.Object
org.apache.sling.testing.mock.osgi.config.ComponentPropertyParser
A few items borrowed from biz.aQute.bndlib DSAnnotationReader and PropertyDef to construct a Map for
felix scr Annotations.toObject() from a combination of an annotation type and an array of property key=value strings
provided via a
ConfigType
annotation.-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertOneToOneMapping
(@NotNull Class<?> configType, @NotNull String[] properties) static boolean
isSupportedConfigTypeValueType
(Class<?> attributeType) static boolean
isSupportedPropertyMapValueType
(Class<?> attributeType)
-
Method Details
-
isSupportedPropertyMapValueType
-
isSupportedConfigTypeValueType
-
parse
-
parse
-
assertOneToOneMapping
-