Class ValueAnnotationParser
java.lang.Object
com.github.egoettelmann.spring.configuration.extensions.annotationprocessor.value.core.ValueAnnotationParser
Parser to resolve property placeholders within value annotations
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueAnnotationParser
public ValueAnnotationParser()
-
-
Method Details
-
parse
Parses a value and returns a map of properties found, with: - the key being the property - the value being the default value (can be null)- Parameters:
value- the value to parse- Returns:
- the map of parse properties and their default values
- Throws:
IllegalArgumentException- if the provided value is invalid and cannot be parsed
-