Package org.forgerock.am.trees.api
Interface NodeBuilder
public interface NodeBuilder
Represents a Node builder. Uses visitor pattern for building and configuration.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeBuilder treeBuilder) Accept a TreeBuilder and perform operations on it.voidbuild(AnnotatedServiceRegistry serviceRegistry) Build the Node, adding it to service registry.getId()Return the ID of the node being built.
-
Method Details
-
accept
Accept a TreeBuilder and perform operations on it.- Parameters:
treeBuilder- the tree builder.- Throws:
SMSException- if there was an SMS error.SSOException- if there was an SSO error.
-
getId
String getId()Return the ID of the node being built.- Returns:
- the ID.
-
build
Build the Node, adding it to service registry.- Parameters:
serviceRegistry- the service registry.- Throws:
SMSException- if there was an SMS error.SSOException- if there was an SSO error.
-