Class InternalGroupUpdate.Builder
- java.lang.Object
-
- com.google.gerrit.server.group.db.InternalGroupUpdate.Builder
-
- Enclosing class:
- InternalGroupUpdate
public abstract static class InternalGroupUpdate.Builder extends Object
A builder for anInternalGroupUpdate
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setName
public abstract InternalGroupUpdate.Builder setName(AccountGroup.NameKey name)
- See Also:
InternalGroupUpdate.getName()
-
setDescription
public abstract InternalGroupUpdate.Builder setDescription(String description)
- See Also:
InternalGroupUpdate.getDescription()
-
setOwnerGroupUUID
public abstract InternalGroupUpdate.Builder setOwnerGroupUUID(AccountGroup.UUID ownerGroupUUID)
- See Also:
InternalGroupUpdate.getOwnerGroupUUID()
-
setVisibleToAll
public abstract InternalGroupUpdate.Builder setVisibleToAll(boolean visibleToAll)
- See Also:
InternalGroupUpdate.getVisibleToAll()
-
setMemberModification
public abstract InternalGroupUpdate.Builder setMemberModification(InternalGroupUpdate.MemberModification memberModification)
- See Also:
getMemberModification()
-
getMemberModification
public abstract InternalGroupUpdate.MemberModification getMemberModification()
Returns the currently definedInternalGroupUpdate.MemberModification
for the prospectiveInternalGroupUpdate
.This modification can be tweaked further and passed to
setMemberModification(InternalGroupUpdate.MemberModification)
in order to combine multiple member additions, deletions, or other modifications into one update.
-
setSubgroupModification
public abstract InternalGroupUpdate.Builder setSubgroupModification(InternalGroupUpdate.SubgroupModification subgroupModification)
- See Also:
getSubgroupModification()
-
getSubgroupModification
public abstract InternalGroupUpdate.SubgroupModification getSubgroupModification()
Returns the currently definedInternalGroupUpdate.SubgroupModification
for the prospectiveInternalGroupUpdate
.This modification can be tweaked further and passed to
setSubgroupModification(InternalGroupUpdate.SubgroupModification)
in order to combine multiple subgroup additions, deletions, or other modifications into one update.
-
setUpdatedOn
public abstract InternalGroupUpdate.Builder setUpdatedOn(Timestamp timestamp)
- See Also:
InternalGroupUpdate.getUpdatedOn()
-
build
public abstract InternalGroupUpdate build()
-
-