| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.compiler.CompileArguments
public class CompileArguments
This class defines the arguments for a compilation using the Compiler.compile() entrypoint.
| Constructor Summary | |
|---|---|
CompileArguments(Context context)
Create a new CompileArguments object  | 
|
| Method Summary | |
|---|---|
 Context | 
getContext()
Get the Context which will be used during the compilation and which defines what will be recompiled.  | 
 java.io.OutputStream | 
getDiagnosticsStream()
Get the OutputStream for compilation diagnostics if those diagnostics need to be redirected.  | 
 java.io.OutputStream | 
getOutputStream()
Get the OutputStream for compilation output (any non-diagnostic output) if that output needs to be redirected.  | 
 PostBuilder | 
getPostBuilder()
The PostBuilder which will be used after the compilation has finished.  | 
 boolean | 
isCompileDependentProjects()
Determine if the build should compile dependent projects first before any project compile.  | 
 boolean | 
isRebuildAllSources()
If true, all sources are unconditionally compiled; if false, only the sources that need compiling will be recompiled.  | 
 boolean | 
isSaveBeforeCompiling()
If true, AND the IDE setting to save before compile is true (see Preferences | Compiler | Save All before Compiling), a save-all is issued before the compilation.  | 
 boolean | 
isWaitForTermination()
If true, the compile call will not return till the build is finished; if false, the compile call will return immediately.  | 
 void | 
setCompileDepdendentProjects(boolean compileDependentProjects)
Set the compile dependent projects flag, which indicates if dependent projects should be compiled before a project is compiled.  | 
 void | 
setDiagnosticsStream(java.io.OutputStream diagnosticsStream)
Set the output stream that should be used for diagnostics.  | 
 void | 
setOutputStream(java.io.OutputStream outputStream)
Set the output stream that should be used for compilation output (any non-diagnostic output).  | 
 void | 
setPostBuilder(PostBuilder postBuilder)
Set the PostBuilder that will be used after the compilation.  | 
 void | 
setRebuildAllSources(boolean rebuildAllSources)
Set the rebuild all sources flag.  | 
 void | 
setSaveBeforeCompiling(boolean saveBeforeCompiling)
Set the save before compiling flag.  | 
 void | 
setWaitForTermination(boolean waitForTermination)
Set the wait for termination flag.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CompileArguments(Context context)
context - The context that defines what will be compiled, which
 cannot be null
java.lang.IllegalArgumentException - if context is null| Method Detail | 
|---|
public Context getContext()
public boolean isRebuildAllSources()
public void setRebuildAllSources(boolean rebuildAllSources)
rebuildAllSources - The flag that indicates if all sources should
 be rebuild or notpublic boolean isSaveBeforeCompiling()
public void setSaveBeforeCompiling(boolean saveBeforeCompiling)
saveBeforeCompiling - The save before compiling flagpublic boolean isWaitForTermination()
public void setWaitForTermination(boolean waitForTermination)
waitForTermination - The new flagpublic boolean isCompileDependentProjects()
public void setCompileDepdendentProjects(boolean compileDependentProjects)
compileDependentProjects - The new flagpublic java.io.OutputStream getOutputStream()
public void setOutputStream(java.io.OutputStream outputStream)
outputStream - The output stream to be used for compilation outputpublic java.io.OutputStream getDiagnosticsStream()
public void setDiagnosticsStream(java.io.OutputStream diagnosticsStream)
diagnosticsStream - The output stream to be used for diagnosticspublic PostBuilder getPostBuilder()
public void setPostBuilder(PostBuilder postBuilder)
postBuilder - The PostBuilder to be used after the compilation
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||