public static interface Predicates.MessageProvider<T>
Predicates
guardrail.Modifier and Type | Method and Description |
---|---|
java.lang.String |
createMessage(boolean isWarning,
T value)
Called when the guardrail is triggered to build the corresponding message.
|
java.lang.String createMessage(boolean isWarning, T value)
isWarning
- whether the trigger is a warning one; otherwise it is failure one.value
- the value that triggers guardrail.Copyright © 2009- The Apache Software Foundation