@PublicApi public class ProjectCreatedData extends Object
ProjectCreateHandler
s that are registered to receive notifications about created
projects.Modifier and Type | Class and Description |
---|---|
static class |
ProjectCreatedData.Builder
Builder for
ProjectCreatedData |
static class |
ProjectCreatedData.Type |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Optional<Long> |
getExistingProjectId()
Returns the id of the the existing project that was used as a template for the new project
|
Project |
getProject()
Returns the created project.
|
Optional<ProjectTemplateKey> |
getProjectTemplateKey()
Returns the key of the project template used to create the project.
|
ProjectCreatedData.Type |
getType()
Returns
ProjectCreatedData.Type.CREATE if this is a normal project create call. |
int |
hashCode() |
public ProjectCreatedData.Type getType()
ProjectCreatedData.Type.CREATE
if this is a normal project create call. If this project was created based on shared
config with an existing project it will return ProjectCreatedData.Type.CREATE_WITH_SHARED_CONFIG
public Project getProject()
public Optional<ProjectTemplateKey> getProjectTemplateKey()
public Optional<Long> getExistingProjectId()
Copyright © 2002-2019 Atlassian. All Rights Reserved.