Package org.forgerock.am.trees.api
Interface DownstreamInputsResolver
public interface DownstreamInputsResolver
For a given auth tree, returns the inputs of reachable downstream nodes from any node in the tree.
-
Method Summary
Modifier and TypeMethodDescriptionMap<UUID,Set<InputState>> getDownstreamInputs(Tree tree) Returns a map of node IDs to the set of inputs which reachable downstream nodes require.getDownstreamInputs(Tree tree, UUID nodeId) For a given node, returns the set of inputs which reachable downstream nodes require.
-
Method Details
-
getDownstreamInputs
Returns a map of node IDs to the set of inputs which reachable downstream nodes require.- Parameters:
tree- the tree to analyse- Returns:
- map of node ids to set of reachable inputs
- Throws:
NodeProcessException- if there was an exception while finding downstream inputs
-
getDownstreamInputs
For a given node, returns the set of inputs which reachable downstream nodes require. If the provided node is not present in the tree, returns an empty set.- Parameters:
tree- the tree to analysenodeId- the id of the node to look downstream from- Returns:
- set of reachable inputs
- Throws:
NodeProcessException- if there was an exception while finding downstream inputs
-