@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.
|
Repo repo()
boolean isCollaborator(String user) throws IOException
user - UserIOException - If there is any I/O problemvoid add(String user) throws IOException
user - UserIOException - If there is any I/O problemvoid remove(String user) throws IOException
user - UserIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.