@Unstable public class UpdateAverageRatingFailedEvent extends AbstractAverageRatingEvent implements org.xwiki.observation.event.EndEvent
AverageRating
failed. The event is sent with the following information:
RatingsManager
List
of updated AverageRating
Constructor and Description |
---|
UpdateAverageRatingFailedEvent()
Default constructor.
|
UpdateAverageRatingFailedEvent(AverageRating newAverageRating,
float oldAverageVote,
int oldTotalVote)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Object otherEvent) |
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)
matches
in interface org.xwiki.observation.event.Event
Copyright © 2004–2021 XWiki. All rights reserved.