Package com.google.gerrit.server.group
Class InternalGroup
- java.lang.Object
-
- com.google.gerrit.server.group.InternalGroup
-
- All Implemented Interfaces:
Serializable
public abstract class InternalGroup extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalGroup.Builder
-
Constructor Summary
Constructors Constructor Description InternalGroup()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static InternalGroup.Builder
builder()
static InternalGroup
create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups)
static InternalGroup
create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups, org.eclipse.jgit.lib.ObjectId refState)
abstract Timestamp
getCreatedOn()
abstract String
getDescription()
abstract AccountGroup.UUID
getGroupUUID()
abstract AccountGroup.Id
getId()
abstract com.google.common.collect.ImmutableSet<Account.Id>
getMembers()
String
getName()
abstract AccountGroup.NameKey
getNameKey()
abstract AccountGroup.UUID
getOwnerGroupUUID()
abstract org.eclipse.jgit.lib.ObjectId
getRefState()
abstract com.google.common.collect.ImmutableSet<AccountGroup.UUID>
getSubgroups()
abstract boolean
isVisibleToAll()
abstract InternalGroup.Builder
toBuilder()
-
-
-
Method Detail
-
create
public static InternalGroup create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups)
-
create
public static InternalGroup create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups, org.eclipse.jgit.lib.ObjectId refState)
-
getId
public abstract AccountGroup.Id getId()
-
getName
public String getName()
-
getNameKey
public abstract AccountGroup.NameKey getNameKey()
-
getDescription
public abstract String getDescription()
-
getOwnerGroupUUID
public abstract AccountGroup.UUID getOwnerGroupUUID()
-
isVisibleToAll
public abstract boolean isVisibleToAll()
-
getGroupUUID
public abstract AccountGroup.UUID getGroupUUID()
-
getCreatedOn
public abstract Timestamp getCreatedOn()
-
getMembers
public abstract com.google.common.collect.ImmutableSet<Account.Id> getMembers()
-
getSubgroups
public abstract com.google.common.collect.ImmutableSet<AccountGroup.UUID> getSubgroups()
-
getRefState
public abstract org.eclipse.jgit.lib.ObjectId getRefState()
-
toBuilder
public abstract InternalGroup.Builder toBuilder()
-
builder
public static InternalGroup.Builder builder()
-
-