org.sonar.batch.qualitygate
Class QualityGateVerifier

java.lang.Object
  extended by org.sonar.batch.qualitygate.QualityGateVerifier
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class QualityGateVerifier
extends Object
implements Decorator


Constructor Summary
QualityGateVerifier(QualityGate qualityGate, Snapshot snapshot, Periods periods, I18n i18n, Durations durations)
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 String dependsOnVariations()
           
 Collection<Metric> dependsUponMetrics()
           
 Metric generatesQualityGateStatus()
           
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QualityGateVerifier

public QualityGateVerifier(QualityGate qualityGate,
                           Snapshot snapshot,
                           Periods periods,
                           I18n i18n,
                           Durations durations)
Method Detail

generatesQualityGateStatus

public Metric generatesQualityGateStatus()

dependsOnVariations

public String dependsOnVariations()

dependsUponMetrics

public Collection<Metric> dependsUponMetrics()

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

decorate

public void decorate(Resource resource,
                     DecoratorContext context)
Specified by:
decorate in interface Decorator

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009–2015 SonarSource. All rights reserved.