Package com.jcabi.github
Class RepositoryStatistics.Smart
java.lang.Object
com.jcabi.github.RepositoryStatistics.Smart
- Enclosing class:
- RepositoryStatistics
Smart RepositoryStatistics.
- Since:
- 1.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreated()The time the repository was created.intforks()Number of forks of this repository.intThe number of open issues in this repository.intsize()The size of the repository.intNumber of users who have starred this repository.intwatchers()Number of users watching the repository.
-
Constructor Details
-
Smart
Public ctor.- Parameters:
repo- Repository.
-
Smart
Public ctor.- Parameters:
statistics- Repository statistics.
-
-
Method Details
-
forks
Number of forks of this repository.- Returns:
- Number of forks
- Throws:
IOException- If there is any I/O problem
-
stargazers
Number of users who have starred this repository.- Returns:
- Number of stargazers
- Throws:
IOException- If there is any I/O problem
-
watchers
Number of users watching the repository.- Returns:
- Number of watchers
- Throws:
IOException- If there is any I/O problem
-
size
The size of the repository.- Returns:
- Size of the repository
- Throws:
IOException- If there is any I/O problem
-
openIssues
The number of open issues in this repository.- Returns:
- Number of open issues
- Throws:
IOException- If there is any I/O problem
-
created
The time the repository was created.- Returns:
- Time the repository was created
- Throws:
IOException- If there is any I/O problem
-