Package com.google.gerrit.server.group
Class InternalGroupDescription
- java.lang.Object
-
- com.google.gerrit.server.group.InternalGroupDescription
-
- All Implemented Interfaces:
GroupDescription.Basic
,GroupDescription.Internal
public class InternalGroupDescription extends Object implements GroupDescription.Internal
-
-
Constructor Summary
Constructors Constructor Description InternalGroupDescription(InternalGroup internalGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestamp
getCreatedOn()
String
getDescription()
String
getEmailAddress()
Returns optional email address to send to the group's members.AccountGroup.UUID
getGroupUUID()
Returns the non-null UUID of the group.AccountGroup.Id
getId()
com.google.common.collect.ImmutableSet<Account.Id>
getMembers()
String
getName()
Returns the non-null name of the group.AccountGroup.UUID
getOwnerGroupUUID()
com.google.common.collect.ImmutableSet<AccountGroup.UUID>
getSubgroups()
String
getUrl()
Returns optional URL to information about the group.boolean
isVisibleToAll()
-
-
-
Constructor Detail
-
InternalGroupDescription
public InternalGroupDescription(InternalGroup internalGroup)
-
-
Method Detail
-
getGroupUUID
public AccountGroup.UUID getGroupUUID()
Description copied from interface:GroupDescription.Basic
Returns the non-null UUID of the group.- Specified by:
getGroupUUID
in interfaceGroupDescription.Basic
-
getName
public String getName()
Description copied from interface:GroupDescription.Basic
Returns the non-null name of the group.- Specified by:
getName
in interfaceGroupDescription.Basic
-
getEmailAddress
public String getEmailAddress()
Description copied from interface:GroupDescription.Basic
Returns optional email address to send to the group's members. If provided, Gerrit will use this email address to send change notifications to the group.- Specified by:
getEmailAddress
in interfaceGroupDescription.Basic
-
getUrl
public String getUrl()
Description copied from interface:GroupDescription.Basic
Returns optional URL to information about the group. Typically a URL to a web page that permits users to apply to join the group, or manage their membership.- Specified by:
getUrl
in interfaceGroupDescription.Basic
-
getId
public AccountGroup.Id getId()
- Specified by:
getId
in interfaceGroupDescription.Internal
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceGroupDescription.Internal
-
getOwnerGroupUUID
public AccountGroup.UUID getOwnerGroupUUID()
- Specified by:
getOwnerGroupUUID
in interfaceGroupDescription.Internal
-
isVisibleToAll
public boolean isVisibleToAll()
- Specified by:
isVisibleToAll
in interfaceGroupDescription.Internal
-
getCreatedOn
public Timestamp getCreatedOn()
- Specified by:
getCreatedOn
in interfaceGroupDescription.Internal
-
getMembers
public com.google.common.collect.ImmutableSet<Account.Id> getMembers()
- Specified by:
getMembers
in interfaceGroupDescription.Internal
-
getSubgroups
public com.google.common.collect.ImmutableSet<AccountGroup.UUID> getSubgroups()
- Specified by:
getSubgroups
in interfaceGroupDescription.Internal
-
-