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 Details

  • Constructor Details

    • ReadabilityInsightProvider

      public ReadabilityInsightProvider()
  • Method Details

    • doEvaluateRequest

      protected Insight doEvaluateRequest(InsightRequest request) throws Exception
      Method for the extending classes to implement, this can safely throw exceptions and this will trigger a failure result to be returned.
      Specified by:
      doEvaluateRequest in class org.apache.sling.cms.core.insights.impl.BaseInsightProvider
      Parameters:
      request - the request to evaluate
      Returns:
      the result of evaluation
      Throws:
      Exception - any exception
    • getId

      public String getId()
    • getTitle

      public String getTitle()
    • isEnabled

      public boolean isEnabled(InsightRequest request)