]> source.dussan.org Git - sonarqube.git/commit
Define new constants in DecoratorBarriers
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 28 Apr 2011 10:55:50 +0000 (12:55 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 28 Apr 2011 14:10:39 +0000 (16:10 +0200)
commitb738fdefddbf88842e3a7ef22f98bfe8c5ca1e11
tree045e845b4c969e89252c1e431363163af190ffec
parentcbd8ee77487227cc50afa1fd12a25943aa909eff
Define new constants in DecoratorBarriers

START_VIOLATION_TRACKING and END_OF_VIOLATION_TRACKING are used to benefit from tracking data of Violation :

- Violation#isSwitchedOff()
- Violation#getCreatedAt()

More information in Javadoc.
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/CloseReviewsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ViolationsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/ViolationPersisterDecorator.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorBarriers.java
sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java