Package com.google.gerrit.common.data
Class ProjectAccess
- java.lang.Object
-
- com.google.gerrit.common.data.ProjectAccess
-
public class ProjectAccess extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
canUpload
protected Map<String,String>
capabilities
protected List<WebLinkInfoCommon>
fileHistoryLinks
protected Map<AccountGroup.UUID,GroupInfo>
groupInfo
protected Project.NameKey
inheritsFrom
protected boolean
isConfigVisible
protected LabelTypes
labelTypes
protected List<AccessSection>
local
protected Set<String>
ownerOf
protected Project.NameKey
projectName
protected String
revision
-
Constructor Summary
Constructors Constructor Description ProjectAccess()
-
Method Summary
-
-
-
Field Detail
-
projectName
protected Project.NameKey projectName
-
revision
protected String revision
-
inheritsFrom
protected Project.NameKey inheritsFrom
-
local
protected List<AccessSection> local
-
isConfigVisible
protected boolean isConfigVisible
-
canUpload
protected boolean canUpload
-
labelTypes
protected LabelTypes labelTypes
-
groupInfo
protected Map<AccountGroup.UUID,GroupInfo> groupInfo
-
fileHistoryLinks
protected List<WebLinkInfoCommon> fileHistoryLinks
-
-
Method Detail
-
getProjectName
public Project.NameKey getProjectName()
-
setProjectName
public void setProjectName(Project.NameKey projectName)
-
getRevision
public String getRevision()
-
setRevision
public void setRevision(String name)
-
getInheritsFrom
public Project.NameKey getInheritsFrom()
-
setInheritsFrom
public void setInheritsFrom(Project.NameKey name)
-
getLocal
public List<AccessSection> getLocal()
-
setLocal
public void setLocal(List<AccessSection> as)
-
getLocal
public AccessSection getLocal(String name)
-
isOwnerOf
public boolean isOwnerOf(AccessSection section)
-
isOwnerOf
public boolean isOwnerOf(String name)
-
isConfigVisible
public boolean isConfigVisible()
-
setConfigVisible
public void setConfigVisible(boolean isConfigVisible)
-
canUpload
public boolean canUpload()
-
setCanUpload
public void setCanUpload(boolean canUpload)
-
getLabelTypes
public LabelTypes getLabelTypes()
-
setLabelTypes
public void setLabelTypes(LabelTypes labelTypes)
-
getGroupInfo
public Map<AccountGroup.UUID,GroupInfo> getGroupInfo()
-
setGroupInfo
public void setGroupInfo(Map<AccountGroup.UUID,GroupInfo> m)
-
setFileHistoryLinks
public void setFileHistoryLinks(List<WebLinkInfoCommon> links)
-
getFileHistoryLinks
public List<WebLinkInfoCommon> getFileHistoryLinks()
-
-