ID: build:FR007 - MTJ shall define an extension point for build hooks

Description: An Extension Point where SDK providers can extend the build process in order to add SDK specific actions into the build process. The build process is seen by the hooks as a state machine and the hooks are notified on every state transition of the build state machine. The Following states are available for the hooks to attach themselves:

PRE_BUILD [Before build process starts]

PRE_PREPROCESS [Before preprocessing]

POST_PREPROCESS [After preprocessing]

PRE_LOCALIZATION [Before localization]

POST_LOCALIZATION [After localization]

PRE_COMPILE [Before JDT builder starts]

POST_COMPILE [After JDT builder ends]

PRE_PREVERIFICATION [Before preverifying]

POST_PREVERIFICATION [After preverifying]

POST_BUILD [After build process ends]

The extension point will be composed by the following elements:

build-hook

hook (Java Attribute) [REQUIRED]

Description: IMTJBuildHook Interface defines a callback method for the hooks to attach to the build process. It must be implemented by the hooks providers.