Adding EPL code to a block
When you save a block, Apama Studio generates the underlying code that defines the block’s interface and saves it as a block definition file with a .bdf extension. To this file, you then add EPL code to implement the necessary behavior. To add code to the block:
1. If necessary, double-click the block in the Project Explorer to open it in the block editor. In the block editor display the Source tab.
2. On the Source tab, code is displayed either with a gray background or a white background. Code with a gray background is maintained by Apama Studio and is not editable. The sections of code with a white background are the areas where you add your custom EPL code.
For details, see
Adding EPL code to the block definition. Also, for background information on the elements that make up the actual code of a block’s definition file, see
File Definition Formats.