|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMTJBuildHook
IMTJBuildHook Interface provides a way for third party components to hook
themselves to the MTJ project's build process. The build process has several
states and the hook is called upon every state transition in order to
eventually do some action.
NOTE: The hook callback must return as soon as it ends its
action if any, so it won't represent an overhead to the build process.
Method Summary | |
---|---|
void |
buildStateChanged(IMTJProject project,
MTJBuildState state,
IProgressMonitor monitor)
This method is called upon state transitions within the MTJ build process. |
Method Detail |
---|
void buildStateChanged(IMTJProject project, MTJBuildState state, IProgressMonitor monitor) throws CoreException
The project instance passed during the invocation of this method provides everything a build hook might require, including access to all resources available.
A progress monitor is provided to report in the user interface the
current statuses inside the hook.
Note: Progress messages should be "user readable" to be
displayed in the User Interface.
In case an error has occurred, clients implementing this interface must
throw a CoreException
that will be treated by MTJ and correctly
displayed.
Note: Exception messages should be "user readable" to be
displayed in the User Interface.
project
- the IMTJProject
being built.state
- new build state. For more info on available build states see
MTJBuildState
.monitor
- a progress monitor.
CoreException
- any error occurred.MTJBuildState
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |