Document PutAgreement class

Change-Id: I671ce59ddf77e6656a427619807b77d4214fe8bf
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2019-12-27 12:03:46 +01:00
committed by David Pursehouse
parent c7b4cf3fac
commit 5443bfa1dd

View File

@@ -42,6 +42,11 @@ import java.io.IOException;
import org.eclipse.jgit.errors.ConfigInvalidException;
import org.eclipse.jgit.lib.Config;
/**
* REST endpoint to sign a contributor agreement for an account.
*
* <p>This REST endpoint handles {@code PUT /accounts/<account-identifier>/agreements} requests.
*/
@Singleton
public class PutAgreement implements RestModifyView<AccountResource, AgreementInput> {
private final ProjectCache projectCache;