Package org.xwiki.extension.rating
Interface ExtensionRating
- All Known Implementing Classes:
DefaultExtensionRating
public interface ExtensionRating
The rating information for a extension.
- Since:
- 6.2M2
- Version:
- $Id: ab557ee02caedf8ee10bc00d9620f931992edec5 $
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
-
Method Details
-
getTotalVotes
int getTotalVotes()- Returns:
- the total number of votes
-
getAverageVote
float getAverageVote()- Returns:
- the average vote
-
getRepository
RatableExtensionRepository getRepository()- Returns:
- the repository from which the rating was fetched
-