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()
AccountGroup.UUID
getGroupUUID()
AccountGroup.Id
getId()
com.google.common.collect.ImmutableSet<Account.Id>
getMembers()
String
getName()
AccountGroup.UUID
getOwnerGroupUUID()
com.google.common.collect.ImmutableSet<AccountGroup.UUID>
getSubgroups()
String
getUrl()
boolean
isVisibleToAll()
-
-
-
Constructor Detail
-
InternalGroupDescription
public InternalGroupDescription(InternalGroup internalGroup)
-
-
Method Detail
-
getGroupUUID
public AccountGroup.UUID getGroupUUID()
- Specified by:
getGroupUUID
in interfaceGroupDescription.Basic
- Returns:
- the non-null UUID of the group.
-
getName
public String getName()
- Specified by:
getName
in interfaceGroupDescription.Basic
- Returns:
- the non-null name of the group.
-
getEmailAddress
public String getEmailAddress()
- Specified by:
getEmailAddress
in interfaceGroupDescription.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.
-
getUrl
public String getUrl()
- Specified by:
getUrl
in interfaceGroupDescription.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.
-
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
-
-