|
|||||||||
| 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
Class BuildEvent

java.lang.Objectjava.util.EventObject
javax.ide.build.BuildEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class BuildEvent
- extends java.util.EventObject
Event object passed to the BuildListeners.
| Field Summary | |
private javax.ide.command.Context |
_context
|
private boolean |
_success
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
BuildEvent(BuildSystem buildSystem,
javax.ide.command.Context context)
Constructor. |
|
BuildEvent(BuildSystem buildSystem,
javax.ide.command.Context context,
boolean success)
Constructor. |
|
| Method Summary | |
BuildSystem |
getBuildSystem()
Get the BuildSystem where the event happened. |
javax.ide.command.Context |
getContext()
Get the context currently used to build. |
boolean |
isBuildSuccessful()
Flag indicating if the build was successful. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_context
private final javax.ide.command.Context _context
_success
private final boolean _success
| Constructor Detail |
BuildEvent
public BuildEvent(BuildSystem buildSystem, javax.ide.command.Context context)
- Constructor.
BuildEvent
public BuildEvent(BuildSystem buildSystem, javax.ide.command.Context context, boolean success)
- Constructor.
| Method Detail |
getBuildSystem
public BuildSystem getBuildSystem()
- Get the BuildSystem where the event happened.
This is functionally equivalent to casting the result of getSource() to
a
BuildSystemobject.
getContext
public javax.ide.command.Context getContext()
- Get the context currently used to build. The context selection lists
all documents being built. The context project provides the source
and class path.
isBuildSuccessful
public boolean isBuildSuccessful()
- Flag indicating if the build was successful. Implementors must
check this flag before proceeding with their pre or post build
behavior.
|
|||||||||
| Home >> All >> javax >> ide >> [ build overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC