01: package com.canoo.webtest.ant;
02:
03: /**
04: * Interface for listeners which are interested when properties are expanded.<p>
05: *
06: * WebTest reports contain the expanded form of properties (ie "foo" instead of "${myProp}")
07: * but Ant doesn't offer any mean to know how properties have been expanded.<br/>
08: * WebTest custom PropertyHelper {@link WebtestPropertyHelper} will notify build listeners
09: * implementing {@link IPropertyExpansionListener} of property expansion.
10: * @author Marc Guillemot
11: */
12: public interface IPropertyExpansionListener {
13: /**
14: * Notifies a property expansion
15: * @param originalValue the original value (like "${myProp}")
16: * @param expanded the expanded value (like "blabla")
17: */
18: void propertiesExpanded(final String originalValue,
19: final String expanded);
20: }
|