Interface IssueTextFieldCharacterLengthValidator.ValidationResult

Enclosing interface:
IssueTextFieldCharacterLengthValidator

public static interface IssueTextFieldCharacterLengthValidator.ValidationResult
Result of the validation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns ids of fields that didn't pass the validation
    long
    Return the character limit value that was used to validate the issue
    boolean
    Returns whether the validation was successful or not.
  • Method Details

    • isValid

      boolean isValid()
      Returns whether the validation was successful or not. If this methods returns true then the getInvalidFieldIds() returns an empty set.
      Returns:
      true
    • getMaximumNumberOfCharacters

      long getMaximumNumberOfCharacters()
      Return the character limit value that was used to validate the issue
      Returns:
      maximum number of characters allowed, 0 means unlimited
    • getInvalidFieldIds

      @Nonnull Set<String> getInvalidFieldIds()
      Returns ids of fields that didn't pass the validation
      Returns:
      set containing ids of fields that exceed the limit or an empty set if no field exceeds the limit