@Unstable public class UpdatedAverageRatingEvent extends AbstractAverageRatingEvent implements org.xwiki.observation.event.EndEvent
AverageRatingis updated. The event is sent with the following information:
|Constructor and Description|
|Modifier and Type||Method and Description|
equals, getNewAverageRating, getOldAverageVote, getOldTotalVote, hashCode, toString
@Unstable public UpdatedAverageRatingEvent()
public UpdatedAverageRatingEvent(AverageRating newAverageRating, float oldAverageVote, int oldTotalVote)
newAverageRating- the new average rating.
oldAverageVote- the old average value, before the update.
oldTotalVote- the old total number of vote, before the update.
public boolean matches(Object otherEvent)
Copyright © 2004–2021 XWiki. All rights reserved.