Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.feedback
Interface FeedbackManagerCallback


public interface FeedbackManagerCallback

This interface allows callers the ability to pass additional information into a bug report that is created via the FeedbackManager. Callbacks should implement this interface (extending AbstractFeedbackManagerCallback is the simplest way to do this) and be registered via FeedbackManager.registerCallback()


Field Summary
static java.lang.String BUGDB_ASSIGNEE
           
static java.lang.String BUGDB_MODULE
           
static java.lang.String BUGDB_SUBCOMPONENT
           
static java.lang.String FM_REQUIRE_STEPS
           
 
Method Summary
 java.lang.String getCallbackIdentity()
          We want to be able to identify callbacks so if something goes awry (e.g., callback information causes bugs to be mis-filed) we know where the information originated
 java.util.List<NameValuePair<java.lang.String>> getFeedbackAdditions(Feedback feedback)
          Return a list of additional items this participant wants to add to the feedback report.
 boolean willHandle(Feedback feedback)
          When an exception occurs, each registered FeedbackManagerCallback will be queried to see whether they want to participate.
 

Field Detail

BUGDB_MODULE

static final java.lang.String BUGDB_MODULE
See Also:
Constant Field Values

BUGDB_SUBCOMPONENT

static final java.lang.String BUGDB_SUBCOMPONENT
See Also:
Constant Field Values

BUGDB_ASSIGNEE

static final java.lang.String BUGDB_ASSIGNEE
See Also:
Constant Field Values

FM_REQUIRE_STEPS

static final java.lang.String FM_REQUIRE_STEPS
See Also:
Constant Field Values
Method Detail

willHandle

boolean willHandle(Feedback feedback)
When an exception occurs, each registered FeedbackManagerCallback will be queried to see whether they want to participate. This is typically done by looking at the Feedback object and getting the Exception class name and the stack trace. If the stack trace contains no packages of interest, and/or the exception class is uninteresting, then the callback can decline to participate. (It is expected that only ExceptionFeedback subclasses are interesting, but that's for the implementor to determine).


getFeedbackAdditions

java.util.List<NameValuePair<java.lang.String>> getFeedbackAdditions(Feedback feedback)
Return a list of additional items this participant wants to add to the feedback report. Items can be any arbitrary list of name/value pairs, not restricted to the ones identified by constants within this interface. (The ones identified by constants in this class do get singled out for additional processing in addition to simply adding them to the feedback report.


getCallbackIdentity

java.lang.String getCallbackIdentity()
We want to be able to identify callbacks so if something goes awry (e.g., callback information causes bugs to be mis-filed) we know where the information originated


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.