|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.feedback.FeedbackLogOptions
public class FeedbackLogOptions
FeedbackManager log handler options for feedback logged through a Logger. If a FeedbackLogOptions instance is included in the parameters of a log message, the handling of the message by the FeedbackManager's log handler will use the options given in the instance.
Warning: This was created to feed the preexisting FeedbackManager API, which does not support arbitrary combinations (e.g., it does not support API depth and API name).
| Nested Class Summary | |
|---|---|
class |
FeedbackLogOptions.Data |
| Constructor Summary | |
|---|---|
FeedbackLogOptions()Creates an options instance with a null exception, API name, and API depth. |
|
FeedbackLogOptions(java.lang.String dataDescription, java.lang.String dataText)Creates an options instance. |
|
FeedbackLogOptions(java.lang.Throwable exception)Creates an options instance. |
|
FeedbackLogOptions(java.lang.Throwable exception, int apiDepth)Creates an options instance. |
|
FeedbackLogOptions(java.lang.Throwable exception, java.lang.String apiName)Creates an options instance. |
|
FeedbackLogOptions(java.lang.Throwable exception, java.lang.String dataDescription, java.lang.String dataContent)Creates an options instance. |
|
| Method Summary | |
|---|---|
void |
addAdditionalData(java.lang.String description, java.lang.String content) |
java.util.List<FeedbackLogOptions.Data> |
getAdditionalData() |
java.lang.Integer |
getApiDepth()Gets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs. |
java.lang.String |
getApiName()Gets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message. |
java.lang.Throwable |
getException()Gets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown(). |
void |
setApiDepth(java.lang.Integer apiDepth)Sets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs. |
void |
setApiName(java.lang.String apiName)Sets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message. |
void |
setException(java.lang.Throwable exception)Sets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedbackLogOptions()
public FeedbackLogOptions(java.lang.Throwable exception,
int apiDepth)
public FeedbackLogOptions(java.lang.Throwable exception,
java.lang.String apiName)
public FeedbackLogOptions(java.lang.Throwable exception)
public FeedbackLogOptions(java.lang.Throwable exception,
java.lang.String dataDescription,
java.lang.String dataContent)
public FeedbackLogOptions(java.lang.String dataDescription,
java.lang.String dataText)
| Method Detail |
|---|
public java.lang.Throwable getException()
LogRecord.getThrown().public void setException(java.lang.Throwable exception)
LogRecord.getThrown().public java.lang.Integer getApiDepth()
public void setApiDepth(java.lang.Integer apiDepth)
public java.lang.String getApiName()
public void setApiName(java.lang.String apiName)
public java.util.List<FeedbackLogOptions.Data> getAdditionalData()
public void addAdditionalData(java.lang.String description,
java.lang.String content)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||