|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildListener
Extension writers request notification of BuildSystem
events by implementing this interface and registering their build listener with the extension deployment descriptor.
IDE providers are responsible for calling the BuildListener
methods before their compiler starts compiling documents and immediately after it finishes doing so.
Method Summary | |
---|---|
void |
postBuild(BuildEvent event) When the compiler finishes compiling documents, the postBuild methods are called. |
void |
preBuild(BuildEvent event) The preBuild method is called before documents are compiled. |
Method Detail |
---|
void preBuild(BuildEvent event) throws AbortBuildException
preBuild
method is called before documents are compiled. If a listener throws an AbortBuildException
, the entire build is aborted and the postBuild
methods are called immediately on the listeners whose preBuild
method had a chance to execute (incuding the one that aborted the build).
The postBuild
method is not called on listener that did not execute their preBuild
method.
This method may be called from threads other than the AWT event thread.
event
- the build event.AbortBuildException
- to abort the entire build.void postBuild(BuildEvent event) throws AbortBuildException
postBuild
methods are called. If any postBuild
method throws an AbortBuildException
, the postBuild
methods are still called on the remaining listeners. Implementors of the postBuild
method must always check the BuildEvent.isBuildSuccessful()
method before continuing.
This method may be called from threads other than the AWT event thread.
event
- the build event.AbortBuildException
- to abort the entire build.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |