org.sonar.api.batch
Interface DecoratorBarriers


public interface DecoratorBarriers

Barriers are used to define the order of execution of Decorators. Decorators must be annotated with the following :

Since:
2.3

Field Summary
static String END_OF_TIME_MACHINE
          Any kinds of time machine data are calculated before this barrier.
static String END_OF_VIOLATION_TRACKING
           
static String END_OF_VIOLATIONS_GENERATION
          This barrier is used by a decorator in order to : be executed after all the decorators which generate violations : @DependsUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION declare that it generates violations : @DependedUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
static String START_VIOLATION_TRACKING
          Extensions which call the method Violation#setSwitchedOff must be executed before this barrier (@DependedUpon(value=DecoratorBarriers.VIOLATION_TRACKING) This barrier is after END_OF_VIOLATIONS_GENERATION
static String START_VIOLATIONS_GENERATION
           
 

Field Detail

START_VIOLATIONS_GENERATION

static final String START_VIOLATIONS_GENERATION
See Also:
Constant Field Values

END_OF_VIOLATIONS_GENERATION

static final String END_OF_VIOLATIONS_GENERATION
This barrier is used by a decorator in order to :

See Also:
Constant Field Values

START_VIOLATION_TRACKING

static final String START_VIOLATION_TRACKING
Extensions which call the method Violation#setSwitchedOff must be executed before this barrier (@DependedUpon(value=DecoratorBarriers.VIOLATION_TRACKING) This barrier is after END_OF_VIOLATIONS_GENERATION

Since:
2.8
See Also:
Constant Field Values

END_OF_VIOLATION_TRACKING

static final String END_OF_VIOLATION_TRACKING
See Also:
Constant Field Values

END_OF_TIME_MACHINE

static final String END_OF_TIME_MACHINE
Any kinds of time machine data are calculated before this barrier. Decorators executed after this barrier can use Measure#getVariationValue() and Measure#getTendency() methods.

Since:
2.5
See Also:
Constant Field Values


Copyright © 2009-2011 SonarSource. All Rights Reserved.