public class DefaultProjectContributorsSet extends java.lang.Object implements ProjectContributorsSet, java.io.Serializable
| Constructor and Description |
|---|
DefaultProjectContributorsSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllContributors(java.util.Collection<ProjectContributor> contributors) |
void |
addContributor(ProjectContributor contributor) |
ProjectContributor |
findByName(java.lang.String name)
Finds project contributor by name.
|
java.util.Set<ProjectContributor> |
getAllContributors() |
int |
size() |
java.util.Collection<java.lang.String> |
toConfigNotation()
Returns a collection of contributors in notation "GITHUB_USER:FULL_NAME".
|
java.lang.String |
toString() |
public void addContributor(ProjectContributor contributor)
addContributor in interface ProjectContributorsSetpublic void addAllContributors(java.util.Collection<ProjectContributor> contributors)
addAllContributors in interface ProjectContributorsSetpublic int size()
size in interface ProjectContributorsSetpublic java.util.Set<ProjectContributor> getAllContributors()
getAllContributors in interface ProjectContributorsSetpublic ProjectContributor findByName(java.lang.String name)
ProjectContributorsSetfindByName in interface ProjectContributorsSetpublic java.util.Collection<java.lang.String> toConfigNotation()
ProjectContributorsSettoConfigNotation in interface ProjectContributorsSetpublic java.lang.String toString()
toString in class java.lang.Object