Interface NumAPIContext

All Known Implementing Classes:
NumAPIContextBase

public interface NumAPIContext
The context state for a given module and NUM ID combination
  • Method Details

    • getRequiredUserVariables

      UserVariable[] getRequiredUserVariables()
      Get the user variables.
      Returns:
      UserVariable[]
    • setRequiredUserVariables

      void setRequiredUserVariables​(UserVariable[] userVariables)
      Update the required user variables with values obtained from the client.
      Parameters:
      userVariables - The UserVariable array with the value fields populated.
    • isPopulatorQueryRequired

      boolean isPopulatorQueryRequired()
      Returns:
      true if the library should query the Populator
    • setPopulatorQueryRequired

      void setPopulatorQueryRequired​(boolean populatorQueryRequired)
      Parameters:
      populatorQueryRequired - true if the library should query the Populator
    • getLocation

      Returns:
      the location the record was retrieved from.
    • setLocation

      void setLocation​(NumAPICallbacks.Location location)
      Used internally to set the NUM record retrieval location.
      Parameters:
      location - the NumAPICallbacks.Location
    • isDnsSecSigned

      boolean isDnsSecSigned()
      Returns:
      true if the record was DNSSEC signed.