public static class ProjectCreationData.Builder extends Object
ProjectCreationData
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProjectCreationData |
build() |
ProjectCreationData.Builder |
from(ProjectCreationData data) |
ProjectCreationData.Builder |
fromExistingProject(Project existingProject,
ProjectCreationData input)
Creates a new instance of ProjectCreationData using a combination of the existing project's data
as well as the input provided
|
ProjectCreationData.Builder |
withAssigneeType(Long assigneeType) |
ProjectCreationData.Builder |
withAvatarId(Long avatarId) |
ProjectCreationData.Builder |
withDescription(String description) |
ProjectCreationData.Builder |
withKey(String key) |
ProjectCreationData.Builder |
withLead(ApplicationUser lead) |
ProjectCreationData.Builder |
withName(String name) |
ProjectCreationData.Builder |
withProjectTemplateKey(String projectTemplateKey) |
ProjectCreationData.Builder |
withType(ProjectTypeKey projectTypeKey) |
ProjectCreationData.Builder |
withType(String projectTypeKey) |
ProjectCreationData.Builder |
withUrl(String url) |
public ProjectCreationData.Builder withName(String name)
public ProjectCreationData.Builder withKey(String key)
public ProjectCreationData.Builder withDescription(String description)
public ProjectCreationData.Builder withType(String projectTypeKey)
public ProjectCreationData.Builder withType(ProjectTypeKey projectTypeKey)
public ProjectCreationData.Builder withProjectTemplateKey(String projectTemplateKey)
public ProjectCreationData.Builder withLead(ApplicationUser lead)
public ProjectCreationData.Builder withUrl(String url)
public ProjectCreationData.Builder withAssigneeType(Long assigneeType)
public ProjectCreationData.Builder withAvatarId(Long avatarId)
public ProjectCreationData build()
public ProjectCreationData.Builder from(ProjectCreationData data)
public ProjectCreationData.Builder fromExistingProject(Project existingProject, ProjectCreationData input)
The following rules will be applied:
existingProject
- The existing project to take creation data frominput
- The input provided by the admin userCopyright © 2002-2019 Atlassian. All Rights Reserved.