public final class ColoredAttributeChecker extends Object implements AttributeChecker, ScriptletConfigurationSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
LANGUAGE_NAME |
OK| Constructor and Description |
|---|
ColoredAttributeChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureScriptlet(com.bytex.snamp.configuration.ScriptletConfiguration scriptlet) |
ColoredAttributePredicate |
getGreenPredicate() |
AttributeCheckStatus |
getStatus(Attribute attribute) |
ColoredAttributePredicate |
getYellowPredicate() |
static ColoredAttributeChecker |
parse(String scriptBody) |
static ColoredAttributeChecker |
parse(String scriptBody,
org.codehaus.jackson.map.ObjectMapper mapper) |
void |
setGreenPredicate(ColoredAttributePredicate value) |
void |
setYellowPredicate(ColoredAttributePredicate value) |
public static final String LANGUAGE_NAME
public static ColoredAttributeChecker parse(String scriptBody) throws IOException
IOExceptionpublic static ColoredAttributeChecker parse(String scriptBody, org.codehaus.jackson.map.ObjectMapper mapper) throws IOException
IOExceptionpublic void configureScriptlet(com.bytex.snamp.configuration.ScriptletConfiguration scriptlet)
configureScriptlet in interface ScriptletConfigurationSupportpublic ColoredAttributePredicate getGreenPredicate()
public void setGreenPredicate(@Nonnull ColoredAttributePredicate value)
public ColoredAttributePredicate getYellowPredicate()
public void setYellowPredicate(@Nonnull ColoredAttributePredicate value)
public AttributeCheckStatus getStatus(Attribute attribute)
getStatus in interface AttributeCheckerCopyright © 2015–2017 Bytex Solutions. All rights reserved.