Interface PropertyResolutionListener
- All Known Implementing Classes:
ControlPanelPropertyResolutionListener
public interface PropertyResolutionListener
A test resources property resolution listener will be notified
whenever a property is resolved by a
TestResourcesResolver
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
errored
(String property, TestResourcesResolver resolver, Throwable error) Records an error which happened during property resolution, for example if a container fails to start.void
resolved
(String property, String resolvedValue, TestResourcesResolver resolver, Map<String, Object> properties, Map<String, Object> testResourcesConfig) Records that a property was resolved by a particular resolver.
-
Method Details
-
resolved
void resolved(String property, String resolvedValue, TestResourcesResolver resolver, Map<String, Object> properties, Map<String, Object> testResourcesConfig) Records that a property was resolved by a particular resolver.- Parameters:
property
- the property which was resolvedresolvedValue
- the result of the resolutionresolver
- the resolver which resolved the propertyproperties
- the properties used for resolutiontestResourcesConfig
- the test resources configuration
-
errored
Records an error which happened during property resolution, for example if a container fails to start.- Parameters:
property
- the property which we attempted to resolveresolver
- the resolver which failederror
- the error which happened
-