public class

IssueTypeTemplateImpl

extends Object
implements IssueTypeTemplate
java.lang.Object
   ↳ com.atlassian.jira.project.template.hook.IssueTypeTemplateImpl

Summary

Public Constructors
IssueTypeTemplateImpl(String key, String name, String description, String iconPath, String workflow, Boolean isSubtask, String screenScheme, String avatar, Plugin plugin)
Public Methods
Optional<String> avatar()
Returns the file name of the avatar that should be used for this issue type.
String description()
Returns the description of the issue type.
String iconPath()
Returns the icon path of the issue type.
URL iconUrl()
Returns the icon url of the issue type.
boolean isSubtask()
Indicates whether this is a sub-task.
String key()
Returns the template key of the issue type.
String name()
Returns the name of the issue type.
Optional<String> screenScheme()
Returns the name of the screen scheme.
String style()
Returns the Issue Type Style.
Optional<String> workflow()
Returns the key of the associated workflow.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.project.template.hook.IssueTypeTemplate

Public Constructors

public IssueTypeTemplateImpl (String key, String name, String description, String iconPath, String workflow, Boolean isSubtask, String screenScheme, String avatar, Plugin plugin)

Public Methods

public Optional<String> avatar ()

Returns the file name of the avatar that should be used for this issue type. If an avatar is specified and exists it should be used instead of an icon.

Returns
  • The file name of the avatar.

public String description ()

Returns the description of the issue type.

Returns
  • the description

public String iconPath ()

Returns the icon path of the issue type.

Returns
  • the icon path

public URL iconUrl ()

Returns the icon url of the issue type.

Returns
  • the icon url

public boolean isSubtask ()

Indicates whether this is a sub-task.

Returns
  • whether this is a sub-task

public String key ()

Returns the template key of the issue type.

Returns
  • the key of the issue type

public String name ()

Returns the name of the issue type.

Returns
  • the name

public Optional<String> screenScheme ()

Returns the name of the screen scheme.

Returns
  • The name of the screen scheme.

public String style ()

Returns the Issue Type Style. This is empty by default which refers to a Standard Issue Type.

Returns
  • the issue type style

public Optional<String> workflow ()

Returns the key of the associated workflow.

Returns
  • the workflow key