|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.ValidationStatistics.Stat
public class ValidationStatistics.Stat
A statistic of the number of valid / invalid instances validated.
Field Summary | |
---|---|
int |
invalid
The number of invalid intances that have been validated. |
int |
valid
The number of valid instances that have been validated. |
Method Summary | |
---|---|
String |
getName()
Returns the name of this statistic. |
boolean |
increment(boolean isValid)
Increments one of the counts. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int valid
public int invalid
Method Detail |
---|
public String getName()
public boolean increment(boolean isValid)
isValid
- Whether to update the valid
or invalid
count.
isValid
argument to allow method chaining.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |