Package com.google.gerrit.server.account
Class AccountResource
- java.lang.Object
-
- com.google.gerrit.server.account.AccountResource
-
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
AccountResource.Email
,AccountResource.SshKey
,AccountResource.StarredChange
public class AccountResource extends Object implements RestResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountResource.Capability
static class
AccountResource.Email
static class
AccountResource.SshKey
static class
AccountResource.Star
static class
AccountResource.StarredChange
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.restapi.RestResource
RestResource.HasETag, RestResource.HasLastModified
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.inject.TypeLiteral<RestView<AccountResource>>
ACCOUNT_KIND
static com.google.inject.TypeLiteral<RestView<AccountResource.Capability>>
CAPABILITY_KIND
static com.google.inject.TypeLiteral<RestView<AccountResource.Email>>
EMAIL_KIND
static com.google.inject.TypeLiteral<RestView<AccountResource.SshKey>>
SSH_KEY_KIND
static com.google.inject.TypeLiteral<RestView<AccountResource.StarredChange>>
STARRED_CHANGE_KIND
-
Constructor Summary
Constructors Constructor Description AccountResource(IdentifiedUser user)
-
-
-
Field Detail
-
ACCOUNT_KIND
public static final com.google.inject.TypeLiteral<RestView<AccountResource>> ACCOUNT_KIND
-
CAPABILITY_KIND
public static final com.google.inject.TypeLiteral<RestView<AccountResource.Capability>> CAPABILITY_KIND
-
EMAIL_KIND
public static final com.google.inject.TypeLiteral<RestView<AccountResource.Email>> EMAIL_KIND
-
SSH_KEY_KIND
public static final com.google.inject.TypeLiteral<RestView<AccountResource.SshKey>> SSH_KEY_KIND
-
STARRED_CHANGE_KIND
public static final com.google.inject.TypeLiteral<RestView<AccountResource.StarredChange>> STARRED_CHANGE_KIND
-
-
Constructor Detail
-
AccountResource
public AccountResource(IdentifiedUser user)
-
-
Method Detail
-
getUser
public IdentifiedUser getUser()
-
-