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