@Immutable public interface Collaborators
Modifier and Type | Method and Description |
---|---|
void |
add(String user)
Add user as a collaborator.
|
boolean |
isCollaborator(String user)
Check if a user is collaborator.
|
Iterable<User> |
iterate()
Iterates over repo collaborators.
|
void |
remove(String user)
Remove user as a collaborator.
|
Repo |
repo()
Owner of them.
|
boolean isCollaborator(@NotNull(message="User is never null") String user) throws IOException
user
- UserIOException
- If there is any I/O problemvoid add(@NotNull(message="User is never null") String user) throws IOException
user
- UserIOException
- If there is any I/O problemvoid remove(@NotNull(message="user is never NULL") String user) throws IOException
user
- UserIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.