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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getAverageVote()
RatableExtensionRepository
getRepository()
int
getTotalVotes()
-
-
-
Method Detail
-
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
-
-