Enum Class GroupIncludeCacheImpl.ExternalGroupsSerializer

java.lang.Object
java.lang.Enum<GroupIncludeCacheImpl.ExternalGroupsSerializer>
com.google.gerrit.server.account.GroupIncludeCacheImpl.ExternalGroupsSerializer
All Implemented Interfaces:
com.google.gerrit.server.cache.serialize.CacheSerializer<com.google.common.collect.ImmutableList<AccountGroup.UUID>>, Serializable, Comparable<GroupIncludeCacheImpl.ExternalGroupsSerializer>, java.lang.constant.Constable
Enclosing class:
GroupIncludeCacheImpl

public static enum GroupIncludeCacheImpl.ExternalGroupsSerializer extends Enum<GroupIncludeCacheImpl.ExternalGroupsSerializer> implements com.google.gerrit.server.cache.serialize.CacheSerializer<com.google.common.collect.ImmutableList<AccountGroup.UUID>>
  • Enum Constant Details

  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • serialize

      public byte[] serialize(com.google.common.collect.ImmutableList<AccountGroup.UUID> object)
      Specified by:
      serialize in interface com.google.gerrit.server.cache.serialize.CacheSerializer<com.google.common.collect.ImmutableList<AccountGroup.UUID>>
    • deserialize

      public com.google.common.collect.ImmutableList<AccountGroup.UUID> deserialize(byte[] in)
      Specified by:
      deserialize in interface com.google.gerrit.server.cache.serialize.CacheSerializer<com.google.common.collect.ImmutableList<AccountGroup.UUID>>