Decorator
is deprecated@Deprecated 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
Deprecated.
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
Deprecated.
This barrier is before
ISSUES_TRACKED . |
static String |
ISSUES_TRACKED
Deprecated.
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.
|
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
)
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
Copyright © 2009–2017 SonarSource. All rights reserved.