Document GetActive class

Change-Id: Iee2e6d0723e76f49f68965fc980de87135108fd3
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2019-12-27 13:37:22 +01:00
committed by David Pursehouse
parent e6a1c85b61
commit 80738a6ddd

View File

@@ -19,6 +19,13 @@ import com.google.gerrit.extensions.restapi.RestReadView;
import com.google.gerrit.server.account.AccountResource;
import com.google.inject.Singleton;
/**
* REST endpoint to get the active state of an account.
*
* <p>This REST endpoint handles {@code GET /accounts/<account-identifier>/active} requests.
*
* <p>Only active accounts can login into Gerrit.
*/
@Singleton
public class GetActive implements RestReadView<AccountResource> {
@Override