Class AccountProperties

java.lang.Object
com.google.gerrit.server.account.AccountProperties

public class AccountProperties extends Object
Parses/writes account properties from/to a Config file.

This is a low-level API. Read/write of account properties in a user branch should be done through AccountsUpdate or AccountConfig.

The config file has one 'account' section with the properties of the account:

   [account]
     active = false
     fullName = John Doe
     displayName = John
     preferredEmail = [email protected]
     status = Overloaded with reviews
 

All keys are optional.

Not setting a key and setting a key to an empty string are treated the same way and result in a null value.

If no value for 'active' is specified, by default the account is considered as active.

The account is lazily parsed.