Interface FormValidationReport

All Superinterfaces:
Serializable

public interface FormValidationReport extends Serializable
A language-specific report.
Since:
5.0.4
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Set<String>
    Provides the names of gadgets being reported containing one or more issues.
    @NotNull Collection<String>
    getMessages(String gadget, Language displayLanguage)
    Get the messages produced for the given gadget.
  • Method Details

    • getGadgets

      @NotNull @NotNull Set<String> getGadgets()
      Provides the names of gadgets being reported containing one or more issues.
      Returns:
      The reported gadgets.
      Since:
      5.0.4
    • getMessages

      @NotNull @NotNull Collection<String> getMessages(String gadget, Language displayLanguage)
      Get the messages produced for the given gadget.
      Parameters:
      gadget - The gadget's name.
      displayLanguage - The language to fetch the messages in.
      Returns:
      The messages produced for the given gadget or null, if no messages are available.
      Since:
      5.0.4