Package com.jcabi.github
Interface PublicMembers
- All Known Implementing Classes:
MkPublicMembers,RtPublicMembers
@Immutable
public interface PublicMembers
Public members of a GitHub organization.
- Since:
- 0.24
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidConceal a user's membership from public view.booleanCheck whether the user is a public member of this organization.iterate()Get all users who are public members of this organization.org()Organization of which these are public members.voidMake a user's membership publicly visible.
-
Method Details
-
org
Organization org()Organization of which these are public members.- Returns:
- Organization
-
conceal
Conceal a user's membership from public view.- Parameters:
user- User whose membership to conceal- Throws:
IOException- If an I/O problem occurs- See Also:
-
publicize
Make a user's membership publicly visible.- Parameters:
user- User whose membership to publicize- Throws:
IOException- If an I/O problem occurs- See Also:
-
iterate
Get all users who are public members of this organization.- Returns:
- Members
- See Also:
-
contains
Check whether the user is a public member of this organization.- Parameters:
user- User to check public organization membership of- Returns:
- Is the user a public member of this organization?
- Throws:
IOException- If an I/O problem occurs- See Also:
-