|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DecoratorBarriers
Barriers are used to define the order of execution of Decorators. Decorators must be annotated with the following :
@DependsUpon(BARRIER)
in order to be executed after BARRIER@DependedUpon(BARRIER)
in order to be executed before BARRIER
Field Summary | |
---|---|
static String |
END_OF_TIME_MACHINE
Any kinds of time machine data are calculated before this barrier. |
static String |
END_OF_VIOLATION_PERSISTENCE
Deprecated. in 3.6. Issues are persisted at the end of analysis |
static String |
END_OF_VIOLATION_TRACKING
Deprecated. in 3.6. Replaced by ISSUES_TRACKED |
static String |
END_OF_VIOLATIONS_GENERATION
Deprecated. in 3.6. Replaced by ISSUES_ADDED |
static String |
ISSUES_ADDED
This barrier is before ISSUES_TRACKED . |
static String |
ISSUES_TRACKED
This barrier is after ISSUES_ADDED . |
static String |
START_VIOLATION_PERSISTENCE
Deprecated. in 3.6. Issues are persisted at the end of analysis. |
static String |
START_VIOLATION_TRACKING
Deprecated. in 3.6. Not required anymore. |
static String |
START_VIOLATIONS_GENERATION
Deprecated. in 3.6. Not required anymore. |
Field Detail |
---|
static final String ISSUES_ADDED
ISSUES_TRACKED
. The decorators that register issues must be declared before this
barrier : @DependedUpon(value=DecoratorBarriers.ISSUES_ADDED)
static final String ISSUES_TRACKED
ISSUES_ADDED
. The decorators that need to list all issues must be declared
after this barrier : @DependsUpon(value=DecoratorBarriers.ISSUES_TRACKED)
@Deprecated static final String START_VIOLATIONS_GENERATION
@Deprecated static final String END_OF_VIOLATIONS_GENERATION
ISSUES_ADDED
@DependsUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
@DependedUpon(value=DecoratorBarriers.END_OF_VIOLATIONS_GENERATION
@Deprecated 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
@Deprecated static final String END_OF_VIOLATION_TRACKING
ISSUES_TRACKED
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 UI
@Deprecated static final String START_VIOLATION_PERSISTENCE
@Deprecated static final String END_OF_VIOLATION_PERSISTENCE
static final String END_OF_TIME_MACHINE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |