Package org.eclipse.emfforms.bazaar
Interface BazaarContextFunction
-
- All Known Implementing Classes:
BazaarContextFunctionNoParameter
,BazaarContextFunctionParameter1
,BazaarContextFunctionReturningNull
,BazaarContextFunctionWithCounter
public interface BazaarContextFunction
Can exchangePolicy.Parameters
in aBazaarContext
into a new parameter which is requested by aVendor
. Is registered at aBazaar.addContextFunction(String, BazaarContextFunction)
under a key. The key matches the parameter, thisBazaarContextFunction
can exchange to. ABazaarContextFunction
holds a method annotated withExchange
. This method can request arbitrary parameters present in theBazaarContext
and return the exchanged parameter.- Author:
- jonas