|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Compiler
interface provides the API to
drive the actual build system.
Method Summary | |
boolean |
addBuildSystemListener(BuildSystemListener bsl)
addBuildSystemListener method adds a build system listener instance implementation to the build system, see BuildSystemListener
for more information. |
boolean |
addCopyListener(CopyListener cl)
addCopyListener method adds a copy listener instance implementation to the build system, see CopyListener for more information. |
boolean |
compile(Context context,
boolean rebuild,
boolean wait)
compile -- compile the context (may be project, workspace, file, ...) and return true if they are no errors else false. |
boolean |
compile(Context context,
boolean rebuild,
boolean wait,
boolean save)
|
LogPage |
getErrorLog()
|
LogPage |
getOutputLog()
get{Output|Error}Log gets the default compiler output/error log. |
boolean |
isBusy(Context context)
|
boolean |
lock(Context context,
boolean wait)
lock/unlock the context (may be project, workspace, file, ...) and return true if the opeartion was successful. |
void |
logOutMsg(java.lang.String msg)
logOutMsg log a message on the default compiler output log |
boolean |
removeBuildSystemListener(BuildSystemListener bsl)
removeBuildSystemListener method removes a build system listener instance implementation from the build system, see BuildSystemListener
for more information. |
boolean |
removeCopyListener(CopyListener cl)
removeCopyListener method removes a copy listener instance implementation from the build system, see CopyListener for more information. |
boolean |
unlock(Context context)
|
Method Detail |
public boolean compile(Context context, boolean rebuild, boolean wait)
context
- -- workspace, project or file to compilerebuild
- -- if true, unconditionally rebuild sourceswait
- -- if true, wait for compile to terminatepublic boolean compile(Context context, boolean rebuild, boolean wait, boolean save)
public boolean isBusy(Context context)
public boolean lock(Context context, boolean wait)
context
- -- workspace, project or file to lock/unlockwait
- -- if true, wait for compilation to terminate
public boolean unlock(Context context)
public boolean addBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.
bsl
- build system listener to add
public boolean removeBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.
bsl
- build system listener to remove
public boolean addCopyListener(CopyListener cl)
CopyListener
for more information.
cl
- copy listener to add
public boolean removeCopyListener(CopyListener cl)
CopyListener
for more information.
cl
- copy listener to remove
public LogPage getOutputLog()
public LogPage getErrorLog()
public void logOutMsg(java.lang.String msg)
msg
- -- msg to print on the log
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.