public final class Project extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Project.NameKey
Project name key
|
Modifier and Type | Field and Description |
---|---|
protected InheritableBoolean |
createNewChangeForAllNotInTarget |
protected String |
defaultDashboardId |
protected String |
description |
protected InheritableBoolean |
enableSignedPush |
protected String |
localDefaultDashboardId |
protected String |
maxObjectSizeLimit |
protected Project.NameKey |
name |
protected Project.NameKey |
parent |
protected InheritableBoolean |
rejectImplicitMerges |
protected InheritableBoolean |
requireChangeID |
protected InheritableBoolean |
requireSignedPush |
protected ProjectState |
state |
protected SubmitType |
submitType |
protected String |
themeName |
protected InheritableBoolean |
useContentMerge |
protected InheritableBoolean |
useContributorAgreements |
protected InheritableBoolean |
useSignedOffBy |
Modifier | Constructor and Description |
---|---|
protected |
Project() |
|
Project(Project.NameKey nameKey) |
protected Project.NameKey name
protected String description
protected InheritableBoolean useContributorAgreements
protected InheritableBoolean useSignedOffBy
protected SubmitType submitType
protected ProjectState state
protected Project.NameKey parent
protected InheritableBoolean requireChangeID
protected String maxObjectSizeLimit
protected InheritableBoolean useContentMerge
protected String defaultDashboardId
protected String localDefaultDashboardId
protected String themeName
protected InheritableBoolean createNewChangeForAllNotInTarget
protected InheritableBoolean enableSignedPush
protected InheritableBoolean requireSignedPush
protected InheritableBoolean rejectImplicitMerges
protected Project()
public Project(Project.NameKey nameKey)
public Project.NameKey getNameKey()
public String getName()
public String getDescription()
public void setDescription(String d)
public InheritableBoolean getUseContributorAgreements()
public InheritableBoolean getUseSignedOffBy()
public InheritableBoolean getUseContentMerge()
public InheritableBoolean getRequireChangeID()
public String getMaxObjectSizeLimit()
public InheritableBoolean getRejectImplicitMerges()
public void setUseContributorAgreements(InheritableBoolean u)
public void setUseSignedOffBy(InheritableBoolean sbo)
public void setUseContentMerge(InheritableBoolean cm)
public void setRequireChangeID(InheritableBoolean cid)
public InheritableBoolean getCreateNewChangeForAllNotInTarget()
public void setCreateNewChangeForAllNotInTarget(InheritableBoolean useAllNotInTarget)
public InheritableBoolean getEnableSignedPush()
public void setEnableSignedPush(InheritableBoolean enable)
public InheritableBoolean getRequireSignedPush()
public void setRequireSignedPush(InheritableBoolean require)
public void setMaxObjectSizeLimit(String limit)
public void setRejectImplicitMerges(InheritableBoolean check)
public SubmitType getSubmitType()
public void setSubmitType(SubmitType type)
public ProjectState getState()
public void setState(ProjectState newState)
public String getDefaultDashboard()
public void setDefaultDashboard(String defaultDashboardId)
public String getLocalDefaultDashboard()
public void setLocalDefaultDashboard(String localDefaultDashboardId)
public String getThemeName()
public void setThemeName(String themeName)
public void copySettingsFrom(Project update)
public Project.NameKey getParent()
null
if this project is the wild project,
null
or the name key of the wild project if this project is a direct child of the
wild projectpublic Project.NameKey getParent(Project.NameKey allProjectsName)
allProjectsName
- name key of the wild projectnull
if this project is the wild projectpublic String getParentName()
public void setParentName(String n)
public void setParentName(Project.NameKey n)