CheckCompound¶
-
public abstract class
CheckCompoundextends CheckSingle¶ This Implementation of this class gets the ability to run multiple checks as a unit.
The
AllCheckimplementation ensures that all the checks added to it pass the validation if any one of the fails the whole check fails.The
AnyCheckimplentation ensures that atleast one passed the check meaning this check will pass validatioin if one of the checks within passed.
Fields¶
checkList¶
-
protected List<CheckInterface>
checkList¶
Methods¶
addCheck¶
-
public void
addCheck(CheckInterface checkInterface)¶
addChecks¶
-
public void
addChecks(List<CheckInterface> validationChecks)¶
disableCheck¶
-
public void
disableCheck(CheckInterface checkInterface)¶
disableChecks¶
-
public void
disableChecks(List<CheckInterface> validationChecks)¶