public abstract class AbstractIntegrityChecker extends Object implements IIntegrityChecker
DANGER, DANGER_LEVEL, INFO, INFO_LEVEL, LEVEL_LABEL, SUCCESS, SUCCESS_LEVEL, WARNING, WARNING_LEVEL
Constructor and Description |
---|
AbstractIntegrityChecker() |
Modifier and Type | Method and Description |
---|---|
String |
getArea(ContentContext ctx) |
String |
getComponentId(ContentContext ctx)
the component where the problem found.
|
int |
getErrorCount(ContentContext ctx) |
String |
getErrorMessage(ContentContext ctx) |
int |
getLevel(ContentContext ctx) |
String |
getLevelLabel(ContentContext ctx) |
boolean |
isApplicableForMailing(ContentContext ctx) |
void |
setComponentId(String compId) |
void |
setErrorCount(int errorCount) |
void |
setErrorMessage(String message) |
void |
setLevel(int level) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPage
public String getErrorMessage(ContentContext ctx)
getErrorMessage
in interface IIntegrityChecker
public String getComponentId(ContentContext ctx)
IIntegrityChecker
getComponentId
in interface IIntegrityChecker
public int getErrorCount(ContentContext ctx)
getErrorCount
in interface IIntegrityChecker
public int getLevel(ContentContext ctx)
getLevel
in interface IIntegrityChecker
public String getLevelLabel(ContentContext ctx)
getLevelLabel
in interface IIntegrityChecker
public void setErrorMessage(String message)
public void setComponentId(String compId)
public void setErrorCount(int errorCount)
public void setLevel(int level)
public boolean isApplicableForMailing(ContentContext ctx)
isApplicableForMailing
in interface IIntegrityChecker
public String getArea(ContentContext ctx)
getArea
in interface IIntegrityChecker
Copyright © 2012-2018. All Rights Reserved.