Class ValidationTrackerImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clears all information stored by the tracker.
      getError​(Field field)
      Returns a previously recorded error message.
      <> getErrors()
      Returns a list of all error messages.
      boolean getHasErrors()
      Returns true if any field contains an error.
      getInput​(Field field)
      Returns a previously recorded input value.
      <> getUnassociatedErrors()
      Returns just the errors that are not associated with any fields.
      boolean inError​(Field field)
      For a given field, determines if the field is "in error", meaning that an error message has been previously recorded for the field.
      void  errorMessage)
      Records an error message that is not associated with any specific field.
      void recordError​(Field field,  errorMessage)
      Records an error message for a field.
      void recordInput​(Field field,  input)
      Called by a field to record the exact input from the user, prior to any validation.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,