public final class Project
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Project.NameKey
Project name key
|
Modifier and Type | Field and Description |
---|---|
protected InheritableBoolean |
createNewChangeForAllNotInTarget |
protected java.lang.String |
defaultDashboardId |
protected java.lang.String |
description |
protected InheritableBoolean |
enableSignedPush |
protected java.lang.String |
localDefaultDashboardId |
protected java.lang.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 java.lang.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 java.lang.String description
protected InheritableBoolean useContributorAgreements
protected InheritableBoolean useSignedOffBy
protected SubmitType submitType
protected ProjectState state
protected Project.NameKey parent
protected InheritableBoolean requireChangeID
protected java.lang.String maxObjectSizeLimit
protected InheritableBoolean useContentMerge
protected java.lang.String defaultDashboardId
protected java.lang.String localDefaultDashboardId
protected java.lang.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 java.lang.String getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String d)
public InheritableBoolean getUseContributorAgreements()
public InheritableBoolean getUseSignedOffBy()
public InheritableBoolean getUseContentMerge()
public InheritableBoolean getRequireChangeID()
public java.lang.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(java.lang.String limit)
public void setRejectImplicitMerges(InheritableBoolean check)
public SubmitType getSubmitType()
public void setSubmitType(SubmitType type)
public ProjectState getState()
public void setState(ProjectState newState)
public java.lang.String getDefaultDashboard()
public void setDefaultDashboard(java.lang.String defaultDashboardId)
public java.lang.String getLocalDefaultDashboard()
public void setLocalDefaultDashboard(java.lang.String localDefaultDashboardId)
public java.lang.String getThemeName()
public void setThemeName(java.lang.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 java.lang.String getParentName()
public void setParentName(java.lang.String n)
public void setParentName(Project.NameKey n)