Class ConfigureData
java.lang.Object
com.atlassian.jira.project.template.hook.ConfigureData
Request object for the "configure project" hook.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigureDatacreate(Project project, Scheme workflowScheme, Map<String, JiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<String, IssueType> createdIssueTypes) static ConfigureDatacreate(Project project, Scheme workflowScheme, Map<String, JiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<String, IssueType> createdIssueTypes, IssueTypeScreenScheme issueTypeScreenScheme, Map<String, FieldScreenScheme> screenSchemes, Map<String, FieldScreen> screens, Collection<Resolution> createdResolutions) Creates a new ConfigureData.Returns the IssueType instances that have been created for this project, mapped to their template key.Returns the collection of resolutions that have been createdReturns the screen instances that have been created for this project, mapped to their template key.Returns the screen scheme instances that have been created for this project, mapped to their template key.Returns the JiraWorkflow instances that have been created for this project, mapped to their template key.Returns the issue type scheme that was created.Returns the issue type screen scheme that was created.project()Returns the Project that was created.Returns the workflow scheme that was created.
-
Method Details
-
create
public static ConfigureData create(Project project, Scheme workflowScheme, Map<String, JiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<String, IssueType> createdIssueTypes, IssueTypeScreenScheme issueTypeScreenScheme, Map<String, FieldScreenScheme> screenSchemes, Map<String, FieldScreen> screens, Collection<Resolution> createdResolutions) Creates a new ConfigureData.- Parameters:
project- a ProjectworkflowScheme- The workflow scheme for the new projectcreatedWorkflows- a Map of created workflows and schemesissueTypeScheme- The issue type scheme for the new projectcreatedIssueTypes- The issue types created for the new projectissueTypeScreenScheme- The issue type screen scheme for the new projectscreenSchemes- The screen scheme for the new projectscreens- The screens for the new projectcreatedResolutions- The resolutions created for the new project- Returns:
- a new ConfigureData
-
create
public static ConfigureData create(Project project, Scheme workflowScheme, Map<String, JiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<String, IssueType> createdIssueTypes) -
project
Returns the Project that was created.- Returns:
- created Project
-
workflowScheme
Returns the workflow scheme that was created.- Returns:
- created Workflow Scheme
-
createdWorkflows
Returns the JiraWorkflow instances that have been created for this project, mapped to their template key.- Returns:
- mapping of template workflow keys and the created workflow
-
issueTypeScheme
Returns the issue type scheme that was created.- Returns:
- created Issue Type Scheme
-
createdIssueTypes
Returns the IssueType instances that have been created for this project, mapped to their template key.- Returns:
- mapping of template issue type keys and the created issue type
-
issueTypeScreenScheme
Returns the issue type screen scheme that was created.- Returns:
- created Issue Type Screen Scheme
-
createdScreenSchemes
Returns the screen scheme instances that have been created for this project, mapped to their template key.- Returns:
- mapping of template screen scheme keys and the created screen schemes
-
createdScreens
Returns the screen instances that have been created for this project, mapped to their template key.- Returns:
- mapping of template screen keys and the created screens
-
createdResolutions
Returns the collection of resolutions that have been created- Returns:
- collection of created resolutions
-