public class HTMLValdiatorInsightProvider extends BaseInsightProvider
Modifier and Type | Class and Description |
---|---|
static interface |
HTMLValdiatorInsightProvider.Config |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
I18N_KEY_HTMLVALIDATOR_DANGER |
static java.lang.String |
I18N_KEY_HTMLVALIDATOR_SUCCESS |
static java.lang.String |
I18N_KEY_HTMLVALIDATOR_WARN |
Constructor and Description |
---|
HTMLValdiatorInsightProvider() |
Modifier and Type | Method and Description |
---|---|
void |
activate(HTMLValdiatorInsightProvider.Config config) |
protected org.apache.sling.cms.insights.Insight |
doEvaluateRequest(org.apache.sling.cms.insights.InsightRequest request)
Method for the extending classes to implement, this can safely throw
exceptions and this will trigger a failure result to be returned.
|
java.lang.String |
getId() |
java.lang.String |
getTitle() |
boolean |
isEnabled(org.apache.sling.cms.insights.InsightRequest request) |
evaluateRequest
public static final java.lang.String I18N_KEY_HTMLVALIDATOR_DANGER
public static final java.lang.String I18N_KEY_HTMLVALIDATOR_WARN
public static final java.lang.String I18N_KEY_HTMLVALIDATOR_SUCCESS
public void activate(HTMLValdiatorInsightProvider.Config config)
protected org.apache.sling.cms.insights.Insight doEvaluateRequest(org.apache.sling.cms.insights.InsightRequest request) throws java.lang.Exception
BaseInsightProvider
doEvaluateRequest
in class BaseInsightProvider
request
- the request to evaluatejava.lang.Exception
- any exceptionpublic java.lang.String getId()
public java.lang.String getTitle()
public boolean isEnabled(org.apache.sling.cms.insights.InsightRequest request)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.