Interface FlowHierarchy
-
- All Known Subinterfaces:
BuildLog,BuildLogEx
- All Known Implementing Classes:
NoOpBuildLog,ServerBuildLog
public interface FlowHierarchyThis interface represents a hierarchy of flow messages- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflowFinished(String flow)This flow is finished and can be releasedintflowIdToInt(String flowId)voidflowStarted(String flow, String parentFlow)This flow is startedList<Integer>getFlowWithChildren(String flowId)Return list of child flows for given flow id, plus flowId itselfIntegergetParentFlow(int flowId)Return parent flow ID for given flow ID
-
-
-
Method Detail
-
flowStarted
void flowStarted(@NotNull String flow, @NotNull String parentFlow)This flow is started- Parameters:
flow- flow idparentFlow- 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)
-
-