propertyValues property
MutablePropertyValues
propertyValues
getter/setter pairinherited
Mutable property values assigned to this pod.
Mutable implementation of PropertyValues interface.
This class provides a mutable collection of PropertyValue objects that can be modified after creation. It's the standard implementation used by pod definitions to store and manage property injection configuration.
Key features:
- Add, remove, and modify property values
- Merge with other PropertyValues instances
- Convert to/from various formats
- Support for property value validation
- Thread-safe operations when needed
- Efficient lookup and iteration
Example usage:
final propertyValues = MutablePropertyValues();
// Add properties
propertyValues.add(PropertyValue('host', 'localhost'));
propertyValues.add(PropertyValue('port', 8080));
propertyValues.add(PropertyValue('timeout', 30));
// Modify existing property
propertyValues.addPropertyValue(PropertyValue('port', 9090));
// Remove property
propertyValues.removePropertyValue('timeout');
// Check for property
if (propertyValues.contains('host')) {
final hostValue = propertyValues.getPropertyValue('host');
}
Implementation
MutablePropertyValues propertyValues;