public final class DBInsightProvider
extends java.lang.Object
| Constructor and Description | 
|---|
DBInsightProvider(DBInsightContext insightContext)
Default constructor. 
 | 
DBInsightProvider(DBInsightContext insightContext,
                 java.lang.Class<? extends ParentLocator> parentLocatorClass,
                 java.util.List<java.lang.Class<? extends InsightDataProvider>> insightDataProviderClasses)
Constructor for extensibility, allowing clients to override the default ParentLocator
 and InsightDataProviders used. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<DBInsightData> | 
getInsightData()
Returns a list of  
DBInsightData for the inputs defined on the DBInsightContext. | 
java.lang.String | 
getMatchingText()  | 
public DBInsightProvider(DBInsightContext insightContext)
m_insightContext - The DBm_insightContext holding the input data to drive the production
 of the insight.public DBInsightProvider(DBInsightContext insightContext, java.lang.Class<? extends ParentLocator> parentLocatorClass, java.util.List<java.lang.Class<? extends InsightDataProvider>> insightDataProviderClasses)
insightContext - The DBm_insightContext holding the input data to drive the productionparentLocatorClass - The class of the object used to find the parent object (if any)
 from the dot seperated names preceding the point where insight is being invoked. If null,
 the default will be used (which will depend on what the context object is).insightDataProviderClasses - A list of classes of InsightDataProvider subclasses that
 will be used to find the insight data for various parent types.  If null, the default will
 be used (which will depend on what the context object is).public java.lang.String getMatchingText()
public java.util.List<DBInsightData> getInsightData()
DBInsightData for the inputs defined on the DBInsightContext.