public class EqualityChecker extends SingleFieldChecker
Modifier and Type | Field and Description |
---|---|
protected String |
fixedValue |
field, header
Constructor and Description |
---|
EqualityChecker(JsonBranch field,
String fixedValue) |
EqualityChecker(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.
|
getHeader
protected String fixedValue
public EqualityChecker(JsonBranch field, String fixedValue)
public EqualityChecker(JsonBranch field, String header, String fixedValue)
public void update(PathCache cache, FieldCounter<RuleCheckingOutput> results)
RuleChecker
cache
- The JSON cache objectresults
- The result mapCopyright © 2020. All rights reserved.