|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.compiler.IdeLog
public class IdeLog
Nested Class Summary | |
---|---|
static interface |
IdeLog.ActivateEvent |
static interface |
IdeLog.FixEvent |
static class |
IdeLog.Message |
Constructor Summary | |
---|---|
IdeLog() |
Method Summary | |
---|---|
void |
clear(Storage source) clear all messages for the specified source file |
void |
completed() completed() sends a special (Completed) message to the compiler page notifying it that this is the last message for that build session. |
void |
error(Storage source, int line, int col, int errNumber, java.lang.String errMsg) print an error message: |
static int |
getPartialUsedStarImportCode() |
Project |
getProject() get current project being compiled |
static int |
getUnusedImportCode() |
Workspace |
getWorkspace() get current workspace being compiled |
static boolean |
isPartiallyUsedImportWarning(IdeLog.Message msg) |
static boolean |
isUnusedImportWarning(IdeLog.Message msg) |
int |
nerrors() how many errors/warnigns so far? |
int |
nwarnings() |
void |
registerAsynchronousLogPage(LogPage asyncLogPage) Set the log page used for asynchronous logging |
void |
reinit() |
void |
setProject(Project project) set current project being compiled |
void |
setWorkspace(Workspace wsp) set current workspace being compiled |
void |
unregisterAsynchronousLogPage(LogPage asyncLogPage) Unregister the log page used for asynchronous logging |
void |
warning(Storage source, int line, int col, int errNumber, java.lang.String errMsg) print a warning message: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdeLog()
Method Detail |
---|
public void reinit()
public Project getProject()
public void setProject(Project project)
public Workspace getWorkspace()
public void setWorkspace(Workspace wsp)
public static int getPartialUsedStarImportCode()
public static int getUnusedImportCode()
public static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)
public static boolean isUnusedImportWarning(IdeLog.Message msg)
public void error(Storage source, int line, int col, int errNumber, java.lang.String errMsg)
error
in interface Translator.Log
source
- -- source file where that error is coming fromline
- -- line number for the errorcol
- -- column number for the errorerrNumber
- -- error numbererrMsg
- -- error textpublic void warning(Storage source, int line, int col, int errNumber, java.lang.String errMsg)
warning
in interface Translator.Log
source
- -- source file where that warning is coming fromline
- -- line number for the warningcol
- -- column number for the warningerrNumber
- -- warning numbererrMsg
- -- warning textpublic void clear(Storage source)
clear
in interface Translator.Log
source
- -- source file for which messages needs to cleared.public void completed()
public int nerrors()
nerrors
in interface Translator.Log
public int nwarnings()
nwarnings
in interface Translator.Log
public void registerAsynchronousLogPage(LogPage asyncLogPage)
public void unregisterAsynchronousLogPage(LogPage asyncLogPage)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |