Class ConfigureData

java.lang.Object
com.atlassian.jira.project.template.hook.ConfigureData

@PublicApi public class ConfigureData extends Object
Request object for the "configure project" hook.
Since:
7.0
  • 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 Project
      workflowScheme - The workflow scheme for the new project
      createdWorkflows - a Map of created workflows and schemes
      issueTypeScheme - The issue type scheme for the new project
      createdIssueTypes - The issue types created for the new project
      issueTypeScreenScheme - The issue type screen scheme for the new project
      screenSchemes - The screen scheme for the new project
      screens - The screens for the new project
      createdResolutions - 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

      public Project project()
      Returns the Project that was created.
      Returns:
      created Project
    • workflowScheme

      public Scheme workflowScheme()
      Returns the workflow scheme that was created.
      Returns:
      created Workflow Scheme
    • createdWorkflows

      public Map<String,JiraWorkflow> 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

      public FieldConfigScheme issueTypeScheme()
      Returns the issue type scheme that was created.
      Returns:
      created Issue Type Scheme
    • createdIssueTypes

      public Map<String,IssueType> 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

      public IssueTypeScreenScheme issueTypeScreenScheme()
      Returns the issue type screen scheme that was created.
      Returns:
      created Issue Type Screen Scheme
    • createdScreenSchemes

      public Map<String,FieldScreenScheme> 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

      public Map<String,FieldScreen> 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

      public Collection<Resolution> createdResolutions()
      Returns the collection of resolutions that have been created
      Returns:
      collection of created resolutions