Class PageSpeedInsightProvider
java.lang.Object
org.apache.sling.cms.core.insights.impl.BaseInsightProvider
org.apache.sling.cms.core.insights.impl.providers.PageSpeedInsightProvider
- All Implemented Interfaces:
InsightProvider
public class PageSpeedInsightProvider
extends org.apache.sling.cms.core.insights.impl.BaseInsightProvider
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected 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
-
MESSAGE_RESULT_DANGER
- See Also:
-
MESSAGE_RESULT_WARN
- See Also:
-
MESSAGE_RESULT_SUCCESS
- See Also:
-
-
Constructor Details
-
PageSpeedInsightProvider
public PageSpeedInsightProvider()
-
-
Method Details
-
activate
-
doEvaluateRequest
Description copied from class:org.apache.sling.cms.core.insights.impl.BaseInsightProviderMethod 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
-