Interface TreeMetaData
-
@SupportedAll public interface TreeMetaData
Meta data API to expose data concerning the evaluating tree, to nodes who care for that data.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Optional<Integer>getMaxAuthLevel(UUID nodeId, String outcome)Calculate maximum auth level which the evaluating tree can give from the specified node.
-
-
-
Method Detail
-
getMaxAuthLevel
default Optional<Integer> getMaxAuthLevel(UUID nodeId, String outcome) throws NodeProcessException
Calculate maximum auth level which the evaluating tree can give from the specified node.- Parameters:
nodeId- the ID of the current nodeoutcome- the outcome of the current node- Returns:
- maximum auth level which this tree can give
- Throws:
NodeProcessException- if some internal error occurs whilst attempting to retrieve the max auth level
-
-