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