Package com.jcabi.github
Interface Milestone
- All Superinterfaces:
Comparable<Milestone>,JsonPatchable,JsonReadable
- All Known Implementing Classes:
Milestone.Smart
GitHub Milestone.
Use a supplementary "smart" decorator to get other properties from an milestone, for example:
Milestone.Smart milestone = new Milestone.Smart(origin);
if (milestone.isOpen()) {
milestone.close();
}
- Since:
- 0.7
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classSmart Milestone with extra features. -
Field Summary
Fields -
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jcabi.github.JsonPatchable
patchMethods inherited from interface com.jcabi.github.JsonReadable
json
-
Field Details
-
OPEN_STATE
Milestone state.- See Also:
-
CLOSED_STATE
Milestone state.- See Also:
-
-
Method Details
-
repo
Repo repo()Repository we're in.- Returns:
- Repo
-
number
int number()Get its number.- Returns:
- Milestone number
-