Interface CheckNameAvailabilityResult


public interface CheckNameAvailabilityResult
The result of check name availability.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the message explaining the reason of name unavailability in more detail.
    boolean
    Gets whether name is available to use.
    Gets the reason that the name could not be used.
  • Method Details

    • nameAvailable

      boolean nameAvailable()
      Gets whether name is available to use.
      Returns:
      whether name is available to use.
    • reason

      Gets the reason that the name could not be used.
      Returns:
      the reason that the name could not be used.
    • message

      String message()
      Gets the message explaining the reason of name unavailability in more detail.
      Returns:
      an error message explaining the reason of name unavailability in more detail.