public abstract class UtilRuleProducer
extends java.lang.Object
| Constructor and Description |
|---|
UtilRuleProducer() |
| Modifier and Type | Method and Description |
|---|---|
T |
createValidationRule(@NotNull java.lang.String value,
@NotNull EventGroupContextData contextData) |
@NotNull java.lang.String |
getPrefix()
Returns the prefix of the validation rule that can be created by this producer.
|
@NotNull public final @NotNull java.lang.String getPrefix()
@Nullable
public T createValidationRule(@NotNull
@NotNull java.lang.String value,
@NotNull
@NotNull EventGroupContextData contextData)
value - validation rule string without prefix and braces (e.g "foo|bar" for {enum:foo|bar})