|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.compiler.UnifiedBuildSystem
public class UnifiedBuildSystem
Field Summary | |
---|---|
static IdeLog |
ideLog
|
static boolean |
showCompileProgress
|
Constructor Summary | |
---|---|
UnifiedBuildSystem()
|
Method Summary | |
---|---|
void |
beginMarking(Translator translator)
Notifies the build system that the current translator marks sources actually translated. |
boolean |
buildOnUIThread(Context context,
boolean rebuild)
|
int |
compileInThread(java.lang.Thread thread,
Project prj,
java.util.ArrayList files,
boolean rebuild)
|
java.util.Map<Workspace,java.util.Map<Project,java.util.List<java.lang.String>>> |
getCompiledClasses()
|
static UnifiedBuildSystem |
getInstance()
|
int |
getLastErrorCount()
|
java.util.Map<Workspace,java.util.Map<Project,java.util.Set<Storage>>> |
getTranslatedSources()
|
boolean |
init(Context context,
boolean rebuild)
|
void |
initCleanAll(Context context)
|
boolean |
isAlive()
|
boolean |
isLocked(Context context)
|
void |
join(long millis)
|
boolean |
lock(Context context)
|
void |
markCompiled(java.lang.String path)
|
void |
markTranslated(Translator translator,
Storage source)
Marks a source as actually translated. |
void |
registerTranslator(Translator translator)
Entry point to register compiler translators, there must be no conflicting input types with any previously registered translators. |
void |
stopBuildSystem()
|
boolean |
unlock()
|
void |
unregisterTranslator(Translator translator)
Entry point to unregister compiler translators. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static IdeLog ideLog
public static boolean showCompileProgress
Constructor Detail |
---|
public UnifiedBuildSystem()
Method Detail |
---|
public boolean init(Context context, boolean rebuild)
public boolean buildOnUIThread(Context context, boolean rebuild)
public void initCleanAll(Context context)
public boolean isAlive()
public void join(long millis) throws java.lang.InterruptedException
java.lang.InterruptedException
public void stopBuildSystem()
public boolean isLocked(Context context)
public boolean lock(Context context)
public boolean unlock()
public int compileInThread(java.lang.Thread thread, Project prj, java.util.ArrayList files, boolean rebuild) throws java.lang.IllegalArgumentException
thread
- -- a compiler thread objectprj
- -- the project context to use to buildfiles
- -- one of more files to build (must be subclass of Storage)rebuild
- -- if true, rebuild file(s) else make file(s)
java.lang.IllegalArgumentException
- exception if:
thread is not a Compiler compatible thread object
files is null
one or more file in the files is not a subclass of Storagepublic int getLastErrorCount()
public void registerTranslator(Translator translator)
translator
- to register in build systempublic void unregisterTranslator(Translator translator)
translator
- to remove from build systempublic static UnifiedBuildSystem getInstance()
public void beginMarking(Translator translator)
public void markTranslated(Translator translator, Storage source)
java.lang.IllegalStateException
public java.util.Map<Workspace,java.util.Map<Project,java.util.Set<Storage>>> getTranslatedSources()
public void markCompiled(java.lang.String path)
public java.util.Map<Workspace,java.util.Map<Project,java.util.List<java.lang.String>>> getCompiledClasses()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |