Interface Profile.ParameterVisitor<R,P,E extends Exception>

Type Parameters:
R - The return type of this visitor's methods. Use Void for visitors that do not need to return results.
P - The type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
E - The type of the exception thrown by the visitor method if it fails, or NeverThrowsException if the visitor cannot fail.
Enclosing class:
Profile

public static interface Profile.ParameterVisitor<R,P,E extends Exception>
A visitor of parameters, in the style of the visitor design pattern.
  • Method Details

    • visitParameter

      R visitParameter(P p, Profile.DnParameter dnParameter) throws E
      Visits a DN parameter.
      Parameters:
      p - A visitor specified parameter
      dnParameter - The DN parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.DomainParameter domainParameter) throws E
      Visits a domain parameter.
      Parameters:
      p - A visitor specified parameter
      domainParameter - The domain parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.EnumParameter<?> enumParameter) throws E
      Visits an enum parameter.
      Parameters:
      p - A visitor specified parameter
      enumParameter - The enum parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.HostPortParameter hostPortParameter) throws E
      Visits an host and port parameter.
      Parameters:
      p - A visitor specified parameter
      hostPortParameter - The host and port parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.NumberParameter<?> numberParameter) throws E
      Visits a number parameter.
      Parameters:
      p - A visitor specified parameter
      numberParameter - The number parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.PathParameter pathParameter) throws E
      Visits a path parameter.
      Parameters:
      p - A visitor specified parameter
      pathParameter - The path parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.PasswordParameter passwordParameter) throws E
      Visits a password parameter.
      Parameters:
      p - A visitor specified parameter
      passwordParameter - The password parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed
    • visitParameter

      R visitParameter(P p, Profile.StringParameter stringParameter) throws E
      Visits a string parameter.
      Parameters:
      p - A visitor specified parameter
      stringParameter - The string parameter
      Returns:
      A visitor specified result
      Throws:
      E - If the visitor failed