Interface TreeMetaData


  • @SupportedAll
    public interface TreeMetaData
    Meta data API to expose data concerning the evaluating tree, to nodes who care for that data.
    • 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 node
        outcome - 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