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
- Version:
- $Id: 7e576333e08bda0e3d19e2071aecfec4b9d6419d $
- Author:
- Chris Rebert (github@chrisrebert.com)
- See Also:
- Organization Members API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconceal(User user)Conceal a user's membership from public view.booleancontains(User user)Check whether the user is a public member of this organization.Iterable<User>iterate()Get all users who are public members of this organization.Organizationorg()Organization of which these are public members.voidpublicize(User user)Make a user's membership publicly visible.
-
-
-
Method Detail
-
org
Organization org()
Organization of which these are public members.- Returns:
- Organization
-
conceal
void conceal(User user) throws IOException
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:
- Conceal a user's membership
-
publicize
void publicize(User user) throws IOException
Make a user's membership publicly visible.- Parameters:
user- User whose membership to publicize- Throws:
IOException- If an I/O problem occurs- See Also:
- Publicize a user's membership
-
iterate
Iterable<User> iterate()
Get all users who are public members of this organization.- Returns:
- Members
- See Also:
- Public members list
-
contains
boolean contains(User user) throws IOException
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:
- Check public membership
-
-