Package org.gitlab4j.api.models
Class Project
java.lang.Object
org.gitlab4j.api.models.Project
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getOwner()getPath()static final StringgetPathWithNammespace(String namespace, String path) Formats a fully qualified project path based on the provided namespace and project path.static final booleanvoidsetAllowMergeOnSkippedPipeline(Boolean allowMergeOnSkippedPipeline) voidsetApprovalsBeforeMerge(Integer approvalsBeforeMerge) voidsetArchived(Boolean archived) voidsetAutocloseReferencedIssues(Boolean autocloseReferencedIssues) voidsetAutoDevopsDeployStrategy(Constants.AutoDevopsDeployStrategy autoDevopsDeployStrategy) voidsetAutoDevopsEnabled(Boolean autoDevopsEnabled) voidsetAvatarUrl(String avatarUrl) voidsetBuildCoverageRegex(String buildCoverageRegex) voidsetBuildGitStrategy(Constants.BuildGitStrategy buildGitStrategy) voidsetCanCreateMergeRequestIn(Boolean canCreateMergeRequestIn) voidsetCiConfigPath(String ciConfigPath) voidsetCiDefaultGitDepth(Integer ciDefaultGitDepth) voidsetCiForwardDeploymentEnabled(Boolean ciForwardDeploymentEnabled) voidsetContainerRegistryEnabled(Boolean containerRegistryEnabled) voidsetCreatedAt(Date createdAt) voidsetCreatorId(Long creatorId) voidsetCustomAttributes(List<CustomAttribute> customAttributes) voidsetDefaultBranch(String defaultBranch) voidsetDescription(String description) voidsetEmailsDisabled(Boolean emailsDisabled) voidsetEmptyRepo(Boolean emptyRepo) voidsetForkedFromProject(Project forkedFromProject) voidsetForksCount(Integer forksCount) voidsetHttpUrlToRepo(String httpUrlToRepo) voidvoidsetImportStatus(ImportStatus.Status importStatus) voidsetInitializeWithReadme(Boolean initializeWithReadme) voidsetIssuesEnabled(Boolean issuesEnabled) voidsetJobsEnabled(Boolean jobsEnabled) voidsetLastActivityAt(Date lastActivityAt) voidsetLfsEnabled(Boolean lfsEnabled) voidsetLicense(ProjectLicense license) voidsetLicenseUrl(String licenseUrl) voidsetMarkedForDeletionOn(Date markedForDeletionOn) voidsetMergeMethod(Project.MergeMethod mergeMethod) voidsetMergeRequestsEnabled(Boolean mergeRequestsEnabled) voidvoidsetNamespace(Namespace namespace) voidsetNameWithNamespace(String nameWithNamespace) voidsetOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved) voidsetOnlyAllowMergeIfPipelineSucceeds(Boolean onlyAllowMergeIfPipelineSucceeds) voidsetOpenIssuesCount(Integer openIssuesCount) voidvoidsetPackagesEnabled(Boolean packagesEnabled) voidvoidsetPathWithNamespace(String pathWithNamespace) voidsetPermissions(Permissions permissions) voidsetPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkEnabled) voidvoidsetPublicJobs(Boolean publicJobs) voidsetReadmeUrl(String readmeUrl) voidsetRemoveSourceBranchAfterMerge(Boolean removeSourceBranchAfterMerge) voidsetRepositoryStorage(String repositoryStorage) voidsetRequestAccessEnabled(Boolean request_access_enabled) voidsetResolveOutdatedDiffDiscussions(Boolean resolveOutdatedDiffDiscussions) voidsetRunnersToken(String runnersToken) voidsetSharedRunnersEnabled(Boolean sharedRunnersEnabled) voidsetSharedWithGroups(List<ProjectSharedGroup> sharedWithGroups) voidsetSnippetsEnabled(Boolean snippetsEnabled) voidsetSquashOption(Constants.SquashOption squashOption) voidsetSshUrlToRepo(String sshUrlToRepo) voidsetStarCount(Integer starCount) voidsetStatistics(ProjectStatistics statistics) voidsetSuggestionCommitMessage(String suggestionCommitMessage) voidsetTagList(List<String> tagList) voidsetVisibility(Visibility visibility) voidsetVisibilityLevel(Integer visibilityLevel) voidsetWallEnabled(Boolean wallEnabled) voidvoidsetWikiEnabled(Boolean wikiEnabled) toString()withAllowMergeOnSkippedPipeline(Boolean allowMergeOnSkippedPipeline) withApprovalsBeforeMerge(Integer approvalsBeforeMerge) withBuildCoverageRegex(String buildCoverageRegex) withBuildGitStrategy(Constants.BuildGitStrategy buildGitStrategy) withContainerRegistryEnabled(boolean containerRegistryEnabled) withDefaultBranch(String defaultBranch) withDescription(String description) withEmailsDisabled(Boolean emailsDisabled) withInitializeWithReadme(boolean initializeWithReadme) withIssuesEnabled(boolean issuesEnabled) withJobsEnabled(boolean jobsEnabled) withLfsEnabled(Boolean lfsEnabled) withMergeMethod(Project.MergeMethod mergeMethod) withMergeRequestsEnabled(boolean mergeRequestsEnabled) withNamespace(Namespace namespace) withNamespaceId(long namespaceId) withOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved) withOnlyAllowMergeIfPipelineSucceeds(Boolean onlyAllowMergeIfPipelineSucceeds) withPackagesEnabled(Boolean packagesEnabled) withPrintingMergeRequestLinkEnabled(Boolean printingMergeRequestLinkEnabled) withPublic(Boolean isPublic) withPublicJobs(boolean publicJobs) withRemoveSourceBranchAfterMerge(Boolean removeSourceBranchAfterMerge) withRepositoryStorage(String repositoryStorage) withRequestAccessEnabled(boolean requestAccessEnabled) withResolveOutdatedDiffDiscussions(boolean resolveOutdatedDiffDiscussions) withSharedRunnersEnabled(boolean sharedRunnersEnabled) withSnippetsEnabled(boolean snippetsEnabled) withSquashOption(Constants.SquashOption squashOption) withSuggestionCommitMessage(String suggestionCommitMessage) withTagList(List<String> tagList) withVisibility(Visibility visibility) withVisibilityLevel(Integer visibilityLevel) withWallEnabled(Boolean wallEnabled) withWebUrl(String webUrl) withWikiEnabled(boolean wikiEnabled)
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
getApprovalsBeforeMerge
-
setApprovalsBeforeMerge
-
withApprovalsBeforeMerge
-
getArchived
-
setArchived
-
getAvatarUrl
-
setAvatarUrl
-
getContainerRegistryEnabled
-
setContainerRegistryEnabled
-
withContainerRegistryEnabled
-
getCreatedAt
-
setCreatedAt
-
getCreatorId
-
setCreatorId
-
getDefaultBranch
-
setDefaultBranch
-
withDefaultBranch
-
getDescription
-
setDescription
-
withDescription
-
getForksCount
-
setForksCount
-
getForkedFromProject
-
setForkedFromProject
-
getHttpUrlToRepo
-
setHttpUrlToRepo
-
getId
-
setId
-
withId
-
getIssuesEnabled
-
setIssuesEnabled
-
withIssuesEnabled
-
getJobsEnabled
-
setJobsEnabled
-
withJobsEnabled
-
getLastActivityAt
-
setLastActivityAt
-
getLfsEnabled
-
setLfsEnabled
-
withLfsEnabled
-
getMergeMethod
-
setMergeMethod
-
withMergeMethod
-
getMergeRequestsEnabled
-
setMergeRequestsEnabled
-
withMergeRequestsEnabled
-
getName
-
setName
-
withName
-
getNamespace
-
setNamespace
-
withNamespace
-
withNamespaceId
-
getNameWithNamespace
-
setNameWithNamespace
-
getOnlyAllowMergeIfPipelineSucceeds
-
setOnlyAllowMergeIfPipelineSucceeds
-
withOnlyAllowMergeIfPipelineSucceeds
-
getAllowMergeOnSkippedPipeline
-
setAllowMergeOnSkippedPipeline
-
withAllowMergeOnSkippedPipeline
-
getOnlyAllowMergeIfAllDiscussionsAreResolved
-
setOnlyAllowMergeIfAllDiscussionsAreResolved
public void setOnlyAllowMergeIfAllDiscussionsAreResolved(Boolean onlyAllowMergeIfAllDiscussionsAreResolved) -
withOnlyAllowMergeIfAllDiscussionsAreResolved
-
getOpenIssuesCount
-
setOpenIssuesCount
-
getOwner
-
setOwner
-
getPath
-
setPath
-
withPath
-
getPathWithNamespace
-
setPathWithNamespace
-
getPermissions
-
setPermissions
-
getPublic
-
setPublic
-
withPublic
-
getPublicJobs
-
setPublicJobs
-
withPublicJobs
-
getRepositoryStorage
-
setRepositoryStorage
-
withRepositoryStorage
-
getRequestAccessEnabled
-
setRequestAccessEnabled
-
withRequestAccessEnabled
-
getRunnersToken
-
setRunnersToken
-
getSnippetsEnabled
-
setSnippetsEnabled
-
withSnippetsEnabled
-
getSshUrlToRepo
-
setSshUrlToRepo
-
getStarCount
-
setStarCount
-
getTagList
-
setTagList
-
withTagList
-
getVisibility
-
setVisibility
-
withVisibility
-
getVisibilityLevel
-
setVisibilityLevel
-
withVisibilityLevel
-
getWallEnabled
-
setWallEnabled
-
withWallEnabled
-
getWebUrl
-
setWebUrl
-
withWebUrl
-
getWikiEnabled
-
setWikiEnabled
-
withWikiEnabled
-
getPrintingMergeRequestLinkEnabled
-
setPrintingMergeRequestLinkEnabled
-
withPrintingMergeRequestLinkEnabled
-
getResolveOutdatedDiffDiscussions
-
setResolveOutdatedDiffDiscussions
-
withResolveOutdatedDiffDiscussions
-
getInitializeWithReadme
-
setInitializeWithReadme
-
withInitializeWithReadme
-
getPackagesEnabled
-
setPackagesEnabled
-
withPackagesEnabled
-
getStatistics
-
setStatistics
-
getEmptyRepo
-
setEmptyRepo
-
getMarkedForDeletionOn
-
setMarkedForDeletionOn
-
getLicenseUrl
-
setLicenseUrl
-
getLicense
-
setLicense
-
getCustomAttributes
-
setCustomAttributes
-
isValid
-
toString
-
getPathWithNammespace
Formats a fully qualified project path based on the provided namespace and project path.- Parameters:
namespace- the namespace, either a user name or group namepath- the project path- Returns:
- a fully qualified project path based on the provided namespace and project path
-
getBuildCoverageRegex
-
setBuildCoverageRegex
-
withBuildCoverageRegex
-
getBuildGitStrategy
-
setBuildGitStrategy
-
withBuildGitStrategy
-
getReadmeUrl
-
setReadmeUrl
-
getCanCreateMergeRequestIn
-
setCanCreateMergeRequestIn
-
getImportStatus
-
setImportStatus
-
getCiDefaultGitDepth
-
setCiDefaultGitDepth
-
getCiForwardDeploymentEnabled
-
setCiForwardDeploymentEnabled
-
getCiConfigPath
-
setCiConfigPath
-
getRemoveSourceBranchAfterMerge
-
setRemoveSourceBranchAfterMerge
-
withRemoveSourceBranchAfterMerge
-
getAutoDevopsEnabled
-
setAutoDevopsEnabled
-
getAutoDevopsDeployStrategy
-
setAutoDevopsDeployStrategy
public void setAutoDevopsDeployStrategy(Constants.AutoDevopsDeployStrategy autoDevopsDeployStrategy) -
getAutocloseReferencedIssues
-
setAutocloseReferencedIssues
-
getEmailsDisabled
-
setEmailsDisabled
-
withEmailsDisabled
-
getSuggestionCommitMessage
-
withSuggestionCommitMessage
-
setSuggestionCommitMessage
-
getSquashOption
-
setSquashOption
-
withSquashOption
-