public class Project extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Project.MergeMethod |
Constructor and Description |
---|
Project() |
public Integer getApprovalsBeforeMerge()
public void setApprovalsBeforeMerge(Integer approvalsBeforeMerge)
public Boolean getArchived()
public void setArchived(Boolean archived)
public String getAvatarUrl()
public void setAvatarUrl(String avatarUrl)
public Boolean getContainerRegistryEnabled()
public void setContainerRegistryEnabled(Boolean containerRegistryEnabled)
public Project withContainerRegistryEnabled(boolean containerRegistryEnabled)
public Date getCreatedAt()
public void setCreatedAt(Date createdAt)
public Integer getCreatorId()
public void setCreatorId(Integer creatorId)
public String getDefaultBranch()
public void setDefaultBranch(String defaultBranch)
public String getDescription()
public void setDescription(String description)
public Integer getForksCount()
public void setForksCount(Integer forksCount)
public Project getForkedFromProject()
public void setForkedFromProject(Project forkedFromProject)
public String getHttpUrlToRepo()
public void setHttpUrlToRepo(String httpUrlToRepo)
public Integer getId()
public void setId(Integer id)
public Boolean getIssuesEnabled()
public void setIssuesEnabled(Boolean issuesEnabled)
public Project withIssuesEnabled(boolean issuesEnabled)
public Boolean getJobsEnabled()
public void setJobsEnabled(Boolean jobsEnabled)
public Project withJobsEnabled(boolean jobsEnabled)
public Date getLastActivityAt()
public void setLastActivityAt(Date lastActivityAt)
public Boolean getLfsEnabled()
public void setLfsEnabled(Boolean lfsEnabled)
public Project.MergeMethod getMergeMethod()
public void setMergeMethod(Project.MergeMethod mergeMethod)
public Project withMergeMethod(Project.MergeMethod mergeMethod)
public Boolean getMergeRequestsEnabled()
public void setMergeRequestsEnabled(Boolean mergeRequestsEnabled)
public Project withMergeRequestsEnabled(boolean mergeRequestsEnabled)
public String getName()
public void setName(String name)
public Namespace getNamespace()
public void setNamespace(Namespace namespace)
public Project withNamespaceId(int namespaceId)
public String getNameWithNamespace()
public void setNameWithNamespace(String nameWithNamespace)
public Boolean getOnlyAllowMergeIfPipelineSucceeds()
public void setOnlyAllowMergeIfPipelineSucceeds(Boolean onlyAllowMergeIfPipelineSucceeds)
public Project withOnlyAllowMergeIfPipelineSucceeds(Boolean onlyAllowMergeIfPipelineSucceeds)
public Boolean getOnlyAllowMergeIfAllDiscussionsAreResolved()
public void setOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved)
public Project withOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved)
public Integer getOpenIssuesCount()
public void setOpenIssuesCount(Integer openIssuesCount)
public Owner getOwner()
public void setOwner(Owner owner)
public String getPath()
public void setPath(String path)
public String getPathWithNamespace()
public void setPathWithNamespace(String pathWithNamespace)
public Permissions getPermissions()
public void setPermissions(Permissions permissions)
public Boolean getPublic()
public void setPublic(Boolean isPublic)
public Boolean getPublicJobs()
public void setPublicJobs(Boolean publicJobs)
public Project withPublicJobs(boolean publicJobs)
public String getRepositoryStorage()
public void setRepositoryStorage(String repositoryStorage)
public Boolean getRequestAccessEnabled()
public void setRequestAccessEnabled(Boolean request_access_enabled)
public Project withRequestAccessEnabled(boolean requestAccessEnabled)
public String getRunnersToken()
public void setRunnersToken(String runnersToken)
public Boolean getSharedRunnersEnabled()
public void setSharedRunnersEnabled(Boolean sharedRunnersEnabled)
public List<ProjectSharedGroup> getSharedWithGroups()
public void setSharedWithGroups(List<ProjectSharedGroup> sharedWithGroups)
public Project withSharedRunnersEnabled(boolean sharedRunnersEnabled)
public Boolean getSnippetsEnabled()
public void setSnippetsEnabled(Boolean snippetsEnabled)
public Project withSnippetsEnabled(boolean snippetsEnabled)
public String getSshUrlToRepo()
public void setSshUrlToRepo(String sshUrlToRepo)
public Integer getStarCount()
public void setStarCount(Integer starCount)
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public Project withVisibility(Visibility visibility)
public Integer getVisibilityLevel()
public void setVisibilityLevel(Integer visibilityLevel)
public Boolean getWallEnabled()
public void setWallEnabled(Boolean wallEnabled)
public String getWebUrl()
public void setWebUrl(String webUrl)
public Boolean getWikiEnabled()
public void setWikiEnabled(Boolean wikiEnabled)
public Project withWikiEnabled(boolean wikiEnabled)
public Boolean getPrintingMergeRequestLinkEnabled()
public void setPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkEnabled)
public Project withPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkEnabled)
public Boolean getResolveOutdatedDiffDiscussions()
public void setResolveOutdatedDiffDiscussions(Boolean resolveOutdatedDiffDiscussions)
public Project withResolveOutdatedDiffDiscussions(boolean resolveOutdatedDiffDiscussions)
public Boolean getInitializeWithReadme()
public void setInitializeWithReadme(Boolean initializeWithReadme)
public Project withInitializeWithReadme(boolean initializeWithReadme)
public Boolean getPackagesEnabled()
public void setPackagesEnabled(Boolean packagesEnabled)
public ProjectStatistics getStatistics()
public void setStatistics(ProjectStatistics statistics)
public Boolean getEmptyRepo()
public void setEmptyRepo(Boolean emptyRepo)
public Date getMarkedForDeletionOn()
public void setMarkedForDeletionOn(Date markedForDeletionOn)
public String getLicenseUrl()
public void setLicenseUrl(String licenseUrl)
public ProjectLicense getLicense()
public void setLicense(ProjectLicense license)
public List<CustomAttribute> getCustomAttributes()
public void setCustomAttributes(List<CustomAttribute> customAttributes)
public static final boolean isValid(Project project)
public static final String getPathWithNammespace(String namespace, String path)
namespace
- the namespace, either a user name or group namepath
- the project pathCopyright © 2020. All rights reserved.