Module de.carne

Interface ValidationMessage

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ValidationMessage
    Functional interface used to generate a validation message.
    • Method Detail

      • format

        java.lang.String format​(java.lang.Object... arguments)
        Format the validation message.

        This function is always invoked with the invalid input value as a single argument.

        Parameters:
        arguments - the format arguments.
        Returns:
        the formatted message.