public interface DecoratorBarriers
@DependsUpon(BARRIER)
in order to be executed after BARRIER@DependedUpon(BARRIER)
in order to be executed before BARRIERModifier and Type | Field and Description |
---|---|
static String |
END_OF_TIME_MACHINE
Any kinds of time machine data are calculated before this barrier.
|
static String |
END_OF_VIOLATION_PERSISTENCE |
static String |
END_OF_VIOLATION_TRACKING
This barrier is after
END_OF_VIOLATIONS_GENERATION and START_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_PERSISTENCE |
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 |
static final String START_VIOLATIONS_GENERATION
static final String END_OF_VIOLATIONS_GENERATION
@DependsUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
@DependedUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
static final String START_VIOLATION_TRACKING
Violation#setSwitchedOff
must be executed before this barrier
(@DependedUpon(value=DecoratorBarriers.VIOLATION_TRACKING
)
This barrier is after END_OF_VIOLATIONS_GENERATION
static final String END_OF_VIOLATION_TRACKING
END_OF_VIOLATIONS_GENERATION
and START_VIOLATION_TRACKING
.
Decorators executed after this barrier (@DependsUpon(value=DecoratorBarriers.END_OF_VIOLATION_TRACKING
)
can benefit from all the features of violation tracking :
Violation#getCreatedAt()
Violation#isSwitchedOff()
, usually to know if a violation has been flagged as false-positives in UIstatic final String START_VIOLATION_PERSISTENCE
static final String END_OF_VIOLATION_PERSISTENCE
static final String END_OF_TIME_MACHINE
Copyright © 2009-2012 SonarSource. All Rights Reserved.