org.sonar.batch.profiling
Class PhasesSumUpTimeProfiler

java.lang.Object
  extended by org.sonar.batch.profiling.PhasesSumUpTimeProfiler
All Implemented Interfaces:
DecoratorExecutionHandler, DecoratorsPhaseHandler, EventHandler, InitializerExecutionHandler, InitializersPhaseHandler, MavenPhaseHandler, PostJobExecutionHandler, PostJobsPhaseHandler, ProjectAnalysisHandler, SensorExecutionHandler, SensorsPhaseHandler, BatchComponent, BatchExtension, Extension, BatchStepHandler, PersisterExecutionHandler, PersistersPhaseHandler

public class PhasesSumUpTimeProfiler
extends Object
implements ProjectAnalysisHandler, SensorExecutionHandler, DecoratorExecutionHandler, PostJobExecutionHandler, DecoratorsPhaseHandler, SensorsPhaseHandler, PostJobsPhaseHandler, MavenPhaseHandler, InitializersPhaseHandler, InitializerExecutionHandler, BatchStepHandler, PersistersPhaseHandler, PersisterExecutionHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.ProjectAnalysisHandler
ProjectAnalysisHandler.ProjectAnalysisEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.SensorExecutionHandler
SensorExecutionHandler.SensorExecutionEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.DecoratorExecutionHandler
DecoratorExecutionHandler.DecoratorExecutionEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.PostJobExecutionHandler
PostJobExecutionHandler.PostJobExecutionEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.DecoratorsPhaseHandler
DecoratorsPhaseHandler.DecoratorsPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.SensorsPhaseHandler
SensorsPhaseHandler.SensorsPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.PostJobsPhaseHandler
PostJobsPhaseHandler.PostJobsPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.MavenPhaseHandler
MavenPhaseHandler.MavenPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.InitializersPhaseHandler
InitializersPhaseHandler.InitializersPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.api.batch.events.InitializerExecutionHandler
InitializerExecutionHandler.InitializerExecutionEvent
 
Nested classes/interfaces inherited from interface org.sonar.batch.events.BatchStepHandler
BatchStepHandler.BatchStepEvent
 
Nested classes/interfaces inherited from interface org.sonar.batch.phases.event.PersistersPhaseHandler
PersistersPhaseHandler.PersistersPhaseEvent
 
Nested classes/interfaces inherited from interface org.sonar.batch.phases.event.PersisterExecutionHandler
PersisterExecutionHandler.PersisterExecutionEvent
 
Constructor Summary
PhasesSumUpTimeProfiler(System2 system)
           
 
Method Summary
 void onBatchStep(BatchStepHandler.BatchStepEvent event)
          Called before and after execution of each final step of project analysis
 void onDecoratorExecution(DecoratorExecutionHandler.DecoratorExecutionEvent event)
           
 void onDecoratorsPhase(DecoratorsPhaseHandler.DecoratorsPhaseEvent event)
           
 void onInitializerExecution(InitializerExecutionHandler.InitializerExecutionEvent event)
           
 void onInitializersPhase(InitializersPhaseHandler.InitializersPhaseEvent event)
           
 void onMavenPhase(MavenPhaseHandler.MavenPhaseEvent event)
           
 void onPersisterExecution(PersisterExecutionHandler.PersisterExecutionEvent event)
          Called before and after execution of ScanPersister.
 void onPersistersPhase(PersistersPhaseHandler.PersistersPhaseEvent event)
          Called before and after execution of all ScanPersisters.
 void onPostJobExecution(PostJobExecutionHandler.PostJobExecutionEvent event)
           
 void onPostJobsPhase(PostJobsPhaseHandler.PostJobsPhaseEvent event)
           
 void onProjectAnalysis(ProjectAnalysisHandler.ProjectAnalysisEvent event)
           
 void onSensorExecution(SensorExecutionHandler.SensorExecutionEvent event)
           
 void onSensorsPhase(SensorsPhaseHandler.SensorsPhaseEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhasesSumUpTimeProfiler

public PhasesSumUpTimeProfiler(System2 system)
Method Detail

onProjectAnalysis

public void onProjectAnalysis(ProjectAnalysisHandler.ProjectAnalysisEvent event)
Specified by:
onProjectAnalysis in interface ProjectAnalysisHandler

onSensorsPhase

public void onSensorsPhase(SensorsPhaseHandler.SensorsPhaseEvent event)
Specified by:
onSensorsPhase in interface SensorsPhaseHandler

onSensorExecution

public void onSensorExecution(SensorExecutionHandler.SensorExecutionEvent event)
Specified by:
onSensorExecution in interface SensorExecutionHandler

onPersistersPhase

public void onPersistersPhase(PersistersPhaseHandler.PersistersPhaseEvent event)
Description copied from interface: PersistersPhaseHandler
Called before and after execution of all ScanPersisters.

Specified by:
onPersistersPhase in interface PersistersPhaseHandler

onPersisterExecution

public void onPersisterExecution(PersisterExecutionHandler.PersisterExecutionEvent event)
Description copied from interface: PersisterExecutionHandler
Called before and after execution of ScanPersister.

Specified by:
onPersisterExecution in interface PersisterExecutionHandler

onDecoratorExecution

public void onDecoratorExecution(DecoratorExecutionHandler.DecoratorExecutionEvent event)
Specified by:
onDecoratorExecution in interface DecoratorExecutionHandler

onDecoratorsPhase

public void onDecoratorsPhase(DecoratorsPhaseHandler.DecoratorsPhaseEvent event)
Specified by:
onDecoratorsPhase in interface DecoratorsPhaseHandler

onPostJobsPhase

public void onPostJobsPhase(PostJobsPhaseHandler.PostJobsPhaseEvent event)
Specified by:
onPostJobsPhase in interface PostJobsPhaseHandler

onPostJobExecution

public void onPostJobExecution(PostJobExecutionHandler.PostJobExecutionEvent event)
Specified by:
onPostJobExecution in interface PostJobExecutionHandler

onMavenPhase

public void onMavenPhase(MavenPhaseHandler.MavenPhaseEvent event)
Specified by:
onMavenPhase in interface MavenPhaseHandler

onInitializersPhase

public void onInitializersPhase(InitializersPhaseHandler.InitializersPhaseEvent event)
Specified by:
onInitializersPhase in interface InitializersPhaseHandler

onInitializerExecution

public void onInitializerExecution(InitializerExecutionHandler.InitializerExecutionEvent event)
Specified by:
onInitializerExecution in interface InitializerExecutionHandler

onBatchStep

public void onBatchStep(BatchStepHandler.BatchStepEvent event)
Description copied from interface: BatchStepHandler
Called before and after execution of each final step of project analysis

Specified by:
onBatchStep in interface BatchStepHandler


Copyright © 2009–2015 SonarSource. All rights reserved.