jetbrains.buildServer.serverSide.buildLog
Interface FlowHierarchy

All Known Subinterfaces:
BuildLog

public interface FlowHierarchy

This interface represents a hierarchy of flow messages

Since:
4.0

Method Summary
 void flowFinished(java.lang.String flow)
          This flow is finished and can be released
 java.lang.Integer flowIdToInt(java.lang.String flowId)
           
 void flowStarted(java.lang.String flow, java.lang.String parentFlow)
          This flow is started
 java.util.List<java.lang.String> getFlowWithChildren(java.lang.String flowId)
          Return list of child flows for given flow id, plus flowId itself
 java.lang.Integer getParentFlow(java.lang.Integer flowId)
          Return parent flow ID for given flow ID
 

Method Detail

flowStarted

void flowStarted(java.lang.String flow,
                 java.lang.String parentFlow)
This flow is started

Parameters:
flow - flow id
parentFlow - parent flow id

flowFinished

void flowFinished(java.lang.String flow)
This flow is finished and can be released

Parameters:
flow - flow id

getFlowWithChildren

java.util.List<java.lang.String> getFlowWithChildren(java.lang.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:
see above

getParentFlow

@Nullable
java.lang.Integer getParentFlow(java.lang.Integer flowId)
Return parent flow ID for given flow ID

Parameters:
flowId - child flow ID
Returns:
see above

flowIdToInt

@NotNull
java.lang.Integer flowIdToInt(java.lang.String flowId)