@PublicApi public class

ConfigureData

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

@PublicApi

This class is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Class Overview

Request object for the "configure project" hook.

Summary

Public Methods
static ConfigureData create(Project project, Scheme workflowScheme, Map<StringJiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<StringIssueType> createdIssueTypes, IssueTypeScreenScheme issueTypeScreenScheme, Map<StringFieldScreenScheme> screenSchemes, Map<StringFieldScreen> screens, Collection<Resolution> createdResolutions)
Creates a new ConfigureData.
static ConfigureData create(Project project, Scheme workflowScheme, Map<StringJiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<StringIssueType> createdIssueTypes)
Map<StringIssueType> createdIssueTypes()
Returns the IssueType instances that have been created for this project, mapped to their template key.
Collection<Resolution> createdResolutions()
Returns the collection of resolutions that have been created
Map<StringFieldScreenScheme> createdScreenSchemes()
Returns the screen scheme instances that have been created for this project, mapped to their template key.
Map<StringFieldScreen> createdScreens()
Returns the screen instances that have been created for this project, mapped to their template key.
Map<StringJiraWorkflow> createdWorkflows()
Returns the JiraWorkflow instances that have been created for this project, mapped to their template key.
FieldConfigScheme issueTypeScheme()
Returns the issue type scheme that was created.
IssueTypeScreenScheme issueTypeScreenScheme()
Returns the issue type screen scheme that was created.
Project project()
Returns the Project that was created.
Scheme workflowScheme()
Returns the workflow scheme that was created.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ConfigureData create (Project project, Scheme workflowScheme, Map<StringJiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<StringIssueType> createdIssueTypes, IssueTypeScreenScheme issueTypeScreenScheme, Map<StringFieldScreenScheme> screenSchemes, Map<StringFieldScreen> 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

public static ConfigureData create (Project project, Scheme workflowScheme, Map<StringJiraWorkflow> createdWorkflows, FieldConfigScheme issueTypeScheme, Map<StringIssueType> createdIssueTypes)

public Map<StringIssueType> 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

public Collection<Resolution> createdResolutions ()

Returns the collection of resolutions that have been created

Returns
  • collection of created resolutions

public Map<StringFieldScreenScheme> 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

public Map<StringFieldScreen> 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

public Map<StringJiraWorkflow> 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

public FieldConfigScheme issueTypeScheme ()

Returns the issue type scheme that was created.

Returns
  • created Issue Type Scheme

public IssueTypeScreenScheme issueTypeScreenScheme ()

Returns the issue type screen scheme that was created.

Returns
  • created Issue Type Screen Scheme

public Project project ()

Returns the Project that was created.

Returns
  • created Project

public Scheme workflowScheme ()

Returns the workflow scheme that was created.

Returns
  • created Workflow Scheme