|
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 |
java.lang.Object
javax.ide.Service
javax.ide.build.BuildSystem
public abstract class BuildSystem
The BuildSystem
service allows extension writers to initiate a build and query information from the build system.
Constructor Summary | |
---|---|
protected |
BuildSystem() |
Method Summary | |
---|---|
void |
addBuildListener(BuildListener l) Add an BuildListener . |
abstract void |
build(Context context) Start a build of the objects selected in the Context . |
static BuildSystem |
getBuildSystem() Gets the build system implementation. |
protected java.util.Collection |
getListeners() Get all listeners. |
protected boolean |
hasListeners() Get whether there are any registered listeners. |
protected void |
initialize() Initializes the build system manager. |
abstract boolean |
isBuilding() Check if the build system is currently building something. |
void |
removeBuildListener(BuildListener l) Remove an BuildListener . |
Methods inherited from class javax.ide.Service |
---|
getService, resetAllServices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BuildSystem()
Method Detail |
---|
protected final boolean hasListeners()
protected final java.util.Collection getListeners()
protected void initialize()
This implementation retrieves and registers listeners obtained from the build system hook handler.
initialize
in class Service
public final void addBuildListener(BuildListener l)
BuildListener
.l
- the BuildListener
to add.public final void removeBuildListener(BuildListener l)
BuildListener
.l
- The BuildListener
to remove.public abstract void build(Context context)
Context
. This method starts the build in another thread and returns immediately.context
- the objects returned by calling the Context.getSelection()
method are build using the classpath and source path information provided by the context project.public abstract boolean isBuilding()
true
is a build is in progress.public static BuildSystem getBuildSystem()
|
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 |