Class DefaultExtensionRating

java.lang.Object
org.xwiki.extension.rating.DefaultExtensionRating
All Implemented Interfaces:
ExtensionRating

public class DefaultExtensionRating extends Object implements ExtensionRating
Default implementation of ExtensionRating.
Since:
6.2M2
Version:
$Id: 76dda9fd713c710a2aea5714e09b2ae6082e023a $
  • Constructor Details

    • DefaultExtensionRating

      public DefaultExtensionRating(int totalVotes, float averageVote, RatableExtensionRepository repository)
      Parameters:
      totalVotes - the total number of votes
      averageVote - the average of all votes
      repository - the repository from which the rating comes from
  • Method Details