public class ContributorAgreementsChecker extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ContributorAgreementsChecker.Metrics |
Modifier and Type | Method and Description |
---|---|
void |
check(Project.NameKey project,
CurrentUser user)
Checks if the user has signed a contributor agreement for the project.
|
public void check(Project.NameKey project, CurrentUser user) throws IOException, AuthException
AuthException
- if the user has not signed a contributor agreement for the projectIOException
- if project states could not be loaded