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 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 resolved
      resolvedValue - the result of the resolution
      resolver - the resolver which resolved the property
      properties - the properties used for resolution
      testResourcesConfig - the test resources configuration
    • errored

      void errored(String property, TestResourcesResolver resolver, Throwable error)
      Records an error which happened during property resolution, for example if a container fails to start.
      Parameters:
      property - the property which we attempted to resolve
      resolver - the resolver which failed
      error - the error which happened