Package com.google.gerrit.server.account
Class AccountControl.Factory
- java.lang.Object
-
- com.google.gerrit.server.account.AccountControl.Factory
-
- Enclosing class:
- AccountControl
public static class AccountControl.Factory extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountControl
get()
Creates aAccountControl
instance that checks whether the current user can see other accounts.AccountControl
get(IdentifiedUser identifiedUser)
Creates aAccountControl
instance that checks whether the given user can see other accounts.
-
-
-
Method Detail
-
get
public AccountControl get()
Creates aAccountControl
instance that checks whether the current user can see other accounts.
-
get
public AccountControl get(IdentifiedUser identifiedUser)
Creates aAccountControl
instance that checks whether the given user can see other accounts.
-
-