AnyCheck

public class AnyCheck extends CheckCompound

This is an implementation of CheckCompound.

Checks if at least one of the checks passed validation.

If the no checks are provided i.e. checkList is empty, validation will always fail.

Constructors

AnyCheck

public AnyCheck(String errorMessage)

Methods

run

public boolean run()