Package org.eclipse.emfforms.bazaar
Annotation Type Bid
-
@Retention(RUNTIME) @Target(METHOD) public @interface BidMarks a method in a
Vendordoing theBidfor creating a product on aBazaar. The methode can request arbitrary parameters from theBazaarContextor provided byBazaarContextFunctions. The method will only be called if all specified parameters can be resolved. The method must to return adoubleindicating the priority. TheVendorwith the highest priority on a Bazaar will finally create the product. see alsoBazaar.A vendor may dynamically opt not to bid. In such case, the bid method must declare its return type as the
Doublewrapper and return anullbid to opt out of the bazaar.- Author:
- jonas