@Unstable public class UpdateAverageRatingFailedEvent extends AbstractAverageRatingEvent implements org.xwiki.observation.event.EndEvent
AverageRatingfailed. 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 UpdateAverageRatingFailedEvent()
public UpdateAverageRatingFailedEvent(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.