Community moderators have prevented the ability to post new answers.
You can use ReviewService#getReviewItemsForReview to get all the items in the review. You can then check to see if it is an instanceof FisheyeReviewItemData and cast it to that class if it is. This will give you all the revisions added to the review, you'll then need to aggregate the toPaths to get a list of the files in the review
Hi Jason,
thanks for your answer.
How can I get an instance of ReviewService? Is there an other way than
<address>ReviewService rs = (ReviewService) SpringContext.getComponent("reviewService");</address>Therefore I need to import com.cenqua.fisheye.config.SpringContext - but I do not know which dependeny I need in pom.xml for that. Which dependeny do I need?
(I think I have already ReviewItemData but this do not contain all reviewer and files - only that which have an entry.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From a plugin perspective, you should be able to automatically inject the ReviewService in almost every module type. If you are in a component then you should be able to define the ReviewService as a constructor parameter and it should be injected when your component is instantiated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.