public class HTMLValdiatorInsightProvider extends BaseInsightProvider
Modifier and Type | Class and Description |
---|---|
static interface |
HTMLValdiatorInsightProvider.Config |
Modifier and Type | Field and Description |
---|---|
static String |
I18N_KEY_HTMLVALIDATOR_DANGER |
static String |
I18N_KEY_HTMLVALIDATOR_SUCCESS |
static String |
I18N_KEY_HTMLVALIDATOR_WARN |
Constructor and Description |
---|
HTMLValdiatorInsightProvider() |
Modifier and Type | Method and Description |
---|---|
void |
activate(HTMLValdiatorInsightProvider.Config config) |
protected 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.
|
String |
getId() |
String |
getTitle() |
boolean |
isEnabled(InsightRequest request) |
evaluateRequest
public static final String I18N_KEY_HTMLVALIDATOR_DANGER
public static final String I18N_KEY_HTMLVALIDATOR_WARN
public static final String I18N_KEY_HTMLVALIDATOR_SUCCESS
public void activate(HTMLValdiatorInsightProvider.Config config)
protected Insight doEvaluateRequest(InsightRequest request) throws Exception
BaseInsightProvider
doEvaluateRequest
in class BaseInsightProvider
request
- the request to evaluateException
- any exceptionpublic String getId()
public String getTitle()
public boolean isEnabled(InsightRequest request)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.