public abstract class BaseInsightProvider extends Object implements InsightProvider
Constructor and Description |
---|
BaseInsightProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract Insight |
doEvaluateRequest(InsightRequest request)
Method for the extending classes to implement, this can safely throw
exceptions and this will trigger a failure result to be returned.
|
Insight |
evaluateRequest(InsightRequest request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getTitle, isEnabled
protected abstract Insight doEvaluateRequest(InsightRequest request) throws Exception
request
- the request to evaluateException
- any exceptionpublic Insight evaluateRequest(InsightRequest request)
evaluateRequest
in interface InsightProvider
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.