Interface FlowHierarchy
-
- All Known Subinterfaces:
BuildLog
,BuildLogEx
- All Known Implementing Classes:
NoOpBuildLog
,ServerBuildLog
public interface FlowHierarchy
This interface represents a hierarchy of flow messages- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flowFinished(String flow)
This flow is finished and can be releasedint
flowIdToInt(String flowId)
void
flowStarted(String flow, String parentFlow)
This flow is startedList<Integer>
getFlowWithChildren(String flowId)
Return list of child flows for given flow id, plus flowId itselfInteger
getParentFlow(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)
-
-