@Unstable public class UpdatingAverageRatingEvent extends AbstractAverageRatingEvent implements org.xwiki.observation.event.BeginEvent
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
public UpdatingAverageRatingEvent(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.