public class CriticalPathEventListener extends Object implements BuckEventListener
BuckEventListener
that is intended to build Critical path of the build (The longest by
time path )Modifier and Type | Field and Description |
---|---|
long |
longestTimeSoFar |
Constructor and Description |
---|
CriticalPathEventListener(Path outputPath) |
Modifier and Type | Method and Description |
---|---|
void |
commandFinished(CommandEvent.Finished event) |
com.google.common.collect.ImmutableList<CriticalPathReportableNode> |
getCriticalPathReportNodes()
Return all the critical path nodes for reports
|
void |
subscribe(BuildRuleExecutionEvent.Finished event)
Subscribes to
BuildRuleExecutionEvent.Finished events |
void |
subscribe(FinalizingBuildRuleEvent event)
Subscribes to
FinalizingBuildRuleEvent events |
void |
subscribe(RemoteBuildRuleExecutionEvent event)
Subscribes to
RemoteBuildRuleExecutionEvent events |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public CriticalPathEventListener(Path outputPath)
public void subscribe(BuildRuleExecutionEvent.Finished event)
BuildRuleExecutionEvent.Finished
eventspublic void subscribe(FinalizingBuildRuleEvent event)
FinalizingBuildRuleEvent
eventspublic void subscribe(RemoteBuildRuleExecutionEvent event)
RemoteBuildRuleExecutionEvent
eventspublic void commandFinished(CommandEvent.Finished event)
public com.google.common.collect.ImmutableList<CriticalPathReportableNode> getCriticalPathReportNodes()