Information about the interfaces of the API

You can use the following interfaces to describe a micropattern in the application programming interface:

  • com.ibm.pdp.engine.IMicroPattern

    The classes that extend this interface represent the micropattern declaration in the source code. The IMicroPattern interface offers methods to access the canonical forms of the declaration, such as the micropattern identifier or the list of declared parameters

    An implementation for the COBOL code is standardly available.

  • com.ibm.pdp.engine.IMicroPatternHandler

    IMicroPatternHandler manages a micropattern that generates code in various parts of the source in which it is declared.

    IMicroPatternHandler extends ICommonMicroPatternHandler

  • com.ibm.pdp.engine.IMicroPatternProcessingContext
    The micropattern expansion process occurs in a unique IMicroPatternProcessingContext instance. This instance gives access to the following elements:
    • Logging facility
    • IGeneratedInfo of the currently generated source code

  • com.ibm.pdp.rpp.micropattern.AbstractGlobalMicroPatternHandler

    To implement a micropattern, you must inherit from this class. This abstract class implements IMicroPatternHandler.


Feedback