Package org.forgerock.opendj.setup.model
Interface Profile.ParameterVisitor<R,P,E extends Exception>
- Type Parameters:
R
- The return type of this visitor's methods. UseVoid
for visitors that do not need to return results.P
- The type of the additional parameter to this visitor's methods. UseVoid
for visitors that do not need an additional parameter.E
- The type of the exception thrown by the visitor method if it fails, orNeverThrowsException
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 Summary
Modifier and TypeMethodDescriptionvisitParameter
(P p, Profile.DnParameter dnParameter) Visits a DN parameter.visitParameter
(P p, Profile.DomainParameter domainParameter) Visits a domain parameter.visitParameter
(P p, Profile.EnumParameter<?> enumParameter) Visits an enum parameter.visitParameter
(P p, Profile.HostPortParameter hostPortParameter) Visits an host and port parameter.visitParameter
(P p, Profile.NumberParameter<?> numberParameter) Visits a number parameter.visitParameter
(P p, Profile.PasswordParameter passwordParameter) Visits a password parameter.visitParameter
(P p, Profile.PathParameter pathParameter) Visits a path parameter.visitParameter
(P p, Profile.StringParameter stringParameter) Visits a string parameter.
-
Method Details
-
visitParameter
Visits a DN parameter.- Parameters:
p
- A visitor specified parameterdnParameter
- TheDN parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits a domain parameter.- Parameters:
p
- A visitor specified parameterdomainParameter
- Thedomain parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits an enum parameter.- Parameters:
p
- A visitor specified parameterenumParameter
- Theenum parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits an host and port parameter.- Parameters:
p
- A visitor specified parameterhostPortParameter
- Thehost and port parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits a number parameter.- Parameters:
p
- A visitor specified parameternumberParameter
- Thenumber parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits a path parameter.- Parameters:
p
- A visitor specified parameterpathParameter
- Thepath parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits a password parameter.- Parameters:
p
- A visitor specified parameterpasswordParameter
- Thepassword parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-
visitParameter
Visits a string parameter.- Parameters:
p
- A visitor specified parameterstringParameter
- Thestring parameter
- Returns:
- A visitor specified result
- Throws:
E
- If the visitor failed
-