|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 terminatesave
- -- if true, will save files before compiling if the IDE
setting is enabled; if false, will never save files,
regardless of the IDE setting. The compile method
without the save parameter will never save files.public 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 terminatepublic boolean unlock(Context context)
public boolean addBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.bsl
- build system listener to addpublic boolean removeBuildSystemListener(BuildSystemListener bsl)
BuildSystemListener
for more information.bsl
- build system listener to removepublic boolean addCopyListener(CopyListener cl)
CopyListener
for more information.cl
- copy listener to addpublic boolean removeCopyListener(CopyListener cl)
CopyListener
for more information.cl
- copy listener to removepublic 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 | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |