use of com.google.gerrit.extensions.common.AgreementInput in project gerrit by GerritCodeReview.
the class AccountApiImpl method signAgreement.
@Override
public void signAgreement(String agreementName) throws RestApiException {
try {
AgreementInput input = new AgreementInput();
input.name = agreementName;
putAgreement.apply(account, input);
} catch (Exception e) {
throw asRestApiException("Cannot sign agreement", e);
}
}
Aggregations