public class HasValueChecker extends SingleFieldChecker
| Modifier and Type | Field and Description |
|---|---|
protected String |
fixedValue |
field, header| Constructor and Description |
|---|
HasValueChecker(JsonBranch field,
String fixedValue) |
HasValueChecker(JsonBranch field,
String header,
String fixedValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
update(PathCache cache,
FieldCounter<RuleCheckingOutput> results)
A push method which is called by the subject, and which transport
information to the Observer objects.
|
getHeaderprotected String fixedValue
public HasValueChecker(JsonBranch field, String fixedValue)
public HasValueChecker(JsonBranch field, String header, String fixedValue)
public void update(PathCache cache, FieldCounter<RuleCheckingOutput> results)
RuleCheckercache - The JSON cache objectresults - The result mapCopyright © 2020. All rights reserved.