Document GetActive class
Change-Id: Iee2e6d0723e76f49f68965fc980de87135108fd3 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
committed by
David Pursehouse
parent
e6a1c85b61
commit
80738a6ddd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user