org.sonar.batch.events
Class BatchStepEvent
java.lang.Object
org.sonar.batch.events.BatchEvent<H>
org.sonar.batch.phases.AbstractPhaseEvent<BatchStepHandler>
org.sonar.batch.events.BatchStepEvent
- All Implemented Interfaces:
- BatchStepHandler.BatchStepEvent
public class BatchStepEvent
- extends AbstractPhaseEvent<BatchStepHandler>
- implements BatchStepHandler.BatchStepEvent
Generic event for some steps of project scan.
- Since:
- 3.7
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchStepEvent
public BatchStepEvent(String stepName,
boolean start)
stepName
public String stepName()
- Specified by:
stepName in interface BatchStepHandler.BatchStepEvent
dispatch
protected void dispatch(BatchStepHandler handler)
- Description copied from class:
BatchEvent
- Do not call directly - should be called only by
EventBus.
Typically should be implemented as following: handler.onEvent(this)
- Specified by:
dispatch in class BatchEvent<BatchStepHandler>
getType
protected Class getType()
- Description copied from class:
BatchEvent
- Returns class of associated handler. Used by
EventBus to dispatch events to the correct handlers.
- Specified by:
getType in class BatchEvent<BatchStepHandler>
Copyright © 2009–2015 SonarSource. All rights reserved.