public interface ValidationCheck
Modifier and Type | Method and Description |
---|---|
default void |
fail(String aMessage)
Fail the check with the given message.
|
default void |
skip(String aMessage)
Skip the check with the given reason.
|
default void fail(String aMessage) throws ValidationCheckFailedException
aMessage
- the failure message.ValidationCheckFailedException
- an exception carrying the failure message.default void skip(String aMessage) throws ValidationCheckSkippedException
aMessage
- the skip reason.ValidationCheckSkippedException
- an exception carrying the failure message.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.