public class

MockIssueType

extends MockIssueConstant
implements IssueType
java.lang.Object
   ↳ com.atlassian.jira.issue.MockIssueConstant
     ↳ com.atlassian.jira.issue.issuetype.MockIssueType

Summary

Public Constructors
MockIssueType(String id, String name)
Constructs a non subtask IssueType with the given id and name.
MockIssueType(long id, String name)
Constructs a non subtask IssueType with the given id and name.
MockIssueType(String id, String name, boolean subTask)
MockIssueType(String id, String name, boolean subTask, Avatar avatar)
Public Methods
Avatar getAvatar()
Get avatar assigned to this IssueType.
boolean isSubTask()
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.MockIssueConstant
From class java.lang.Object
From interface com.atlassian.jira.issue.IssueConstant
From interface com.atlassian.jira.issue.issuetype.IssueType
From interface java.lang.Comparable

Public Constructors

public MockIssueType (String id, String name)

Constructs a non subtask IssueType with the given id and name.

Parameters
id the id.
name the name.

public MockIssueType (long id, String name)

Constructs a non subtask IssueType with the given id and name.

Parameters
id the id.
name the name.

public MockIssueType (String id, String name, boolean subTask)

public MockIssueType (String id, String name, boolean subTask, Avatar avatar)

Public Methods

public Avatar getAvatar ()

Get avatar assigned to this IssueType. Link to avatar will be automatically assigned to property iconUrl.

When all issue constants will have avatars it should be moved into IssueConstant.

Returns
  • avatar or null if this item has no avatar assigned.

public boolean isSubTask ()