|
|||||||||
| Home >> All >> javax >> ide >> [ build overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.ide.build
Interface BuildListener

- All Superinterfaces:
- java.util.EventListener
- public interface BuildListener
- extends java.util.EventListener
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 |
preBuild
public void preBuild(BuildEvent event) throws AbortBuildException
- The
preBuildmethod is called before documents are compiled. If a listener throws an AbortBuildException, the entire build is aborted and thepostBuildmethods are called immediately on the listeners whosepreBuildmethod had a chance to execute. ThepostBuildmethod is not called on listener that did not execute theirpreBuildmethod.This method may be called from threads other than the AWT event thread.
postBuild
public void postBuild(BuildEvent event) throws AbortBuildException
- When the compiler finishes compiling documents, the
postBuildmethods are called. If anypostBuildmethod throws an AbortBuildException, thepostBuildmethods are still called on the remaining listeners. Implementors of thepostBuildmethod must always check theBuildEvent.isBuildSuccessful()55 method before continuing.This method may be called from threads other than the AWT event thread.
|
|||||||||
| Home >> All >> javax >> ide >> [ build overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC