org.sonar.batch.qualitygate
Class GenerateQualityGateEvents
java.lang.Object
org.sonar.batch.qualitygate.GenerateQualityGateEvents
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
public class GenerateQualityGateEvents
- extends Object
- implements Decorator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerateQualityGateEvents
public GenerateQualityGateEvents(QualityGate qualityGate,
TimeMachine timeMachine,
NotificationManager notificationManager)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject in interface CheckProject
dependsUponAlertStatus
public Metric dependsUponAlertStatus()
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Specified by:
decorate in interface Decorator
notifyUsers
protected void notifyUsers(Resource resource,
String alertName,
String alertText,
Metric.Level alertLevel,
boolean isNewAlert)
Copyright © 2009–2015 SonarSource. All rights reserved.