From b738fdefddbf88842e3a7ef22f98bfe8c5ca1e11 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Thu, 28 Apr 2011 12:55:50 +0200 Subject: 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. --- .../org/sonar/api/batch/DecoratorBarriers.java | 38 +++++++++++++++++++--- .../main/java/org/sonar/api/rules/Violation.java | 13 +++++--- 2 files changed, 41 insertions(+), 10 deletions(-) (limited to 'sonar-plugin-api/src') diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorBarriers.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorBarriers.java index 429050ecc74..526c87c6c9e 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorBarriers.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/DecoratorBarriers.java @@ -20,8 +20,13 @@ package org.sonar.api.batch; /** - * Barriers are used to define the order of execution of Decorators. - * + * Barriers are used to define the order of execution of Decorators. Decorators must be annotated with the following : + * + *