Class ReadabilityInsightProvider
java.lang.Object
org.apache.sling.cms.core.insights.impl.BaseInsightProvider
org.apache.sling.cms.core.insights.impl.providers.ReadabilityInsightProvider
- All Implemented Interfaces:
InsightProvider
public class ReadabilityInsightProvider
extends org.apache.sling.cms.core.insights.impl.BaseInsightProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InsightdoEvaluateRequest(InsightRequest request) Method for the extending classes to implement, this can safely throw exceptions and this will trigger a failure result to be returned.getId()getTitle()booleanisEnabled(InsightRequest request) Methods inherited from class org.apache.sling.cms.core.insights.impl.BaseInsightProvider
evaluateRequest
-
Field Details
-
I18N_KEY_READABILITY_RESULT_DANGER
- See Also:
-
I18N_KEY_READABILITY_RESULT_SUCCESS
- See Also:
-
I18N_KEY_READABILITY_RESULT_WARN
- See Also:
-
I18N_KEY_READABILITY_STATS
- See Also:
-
READABILITY_CA_CONFIG
- See Also:
-
-
Constructor Details
-
ReadabilityInsightProvider
public ReadabilityInsightProvider()
-
-
Method Details
-
doEvaluateRequest
Method for the extending classes to implement, this can safely throw exceptions and this will trigger a failure result to be returned.- Specified by:
doEvaluateRequestin classorg.apache.sling.cms.core.insights.impl.BaseInsightProvider- Parameters:
request- the request to evaluate- Returns:
- the result of evaluation
- Throws:
Exception- any exception
-
getId
-
getTitle
-
isEnabled
-