Package com.atlassian.jira.project
Class ProjectCreatedData
java.lang.Object
com.atlassian.jira.project.ProjectCreatedData
Holds the information about a recently created project. This will be passed to
ProjectCreateHandlers that are registered to receive notifications about created
projects.- Since:
- 7.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the id of the the existing project that was used as a template for the new projectReturns the created project.Returns the key of the project template used to create the project.getType()ReturnsProjectCreatedData.Type.CREATEif this is a normal project create call.inthashCode()
-
Method Details
-
getType
ReturnsProjectCreatedData.Type.CREATEif this is a normal project create call. If this project was created based on shared config with an existing project it will returnProjectCreatedData.Type.CREATE_WITH_SHARED_CONFIG- Returns:
- the create operation type
-
getProject
Returns the created project.- Returns:
- The created project.
-
getProjectTemplateKey
Returns the key of the project template used to create the project.- Returns:
- The key of the project template used to create the project.
-
getExistingProjectId
Returns the id of the the existing project that was used as a template for the new project- Returns:
- The id of the the existing project that was used as a template for the new project
-
equals
-
hashCode
public int hashCode()
-