Interface FlowHierarchy

    • Method Detail

      • flowStarted

        void flowStarted​(@NotNull
                         String flow,
                         @NotNull
                         String parentFlow)
        This flow is started
        Parameters:
        flow - flow id
        parentFlow - parent flow id
      • flowFinished

        void flowFinished​(@NotNull
                          String flow)
        This flow is finished and can be released
        Parameters:
        flow - flow id
      • getFlowWithChildren

        @NotNull
        List<Integer> getFlowWithChildren​(@NotNull
                                          String flowId)
        Return list of child flows for given flow id, plus flowId itself
        Parameters:
        flowId - parent of the child flows to be returned. the param is returned with results of the call.
        Returns:
        A list of flowIds in topological order.
      • getParentFlow

        @Nullable
        Integer getParentFlow​(int flowId)
        Return parent flow ID for given flow ID
        Parameters:
        flowId - child flow ID
        Returns:
        see above
      • flowIdToInt

        int flowIdToInt​(@NotNull
                        String flowId)