com.atlassian.jira.issue.issuetype
Class MockIssueType
java.lang.Object
com.atlassian.jira.issue.MockIssueConstant
com.atlassian.jira.issue.issuetype.MockIssueType
- All Implemented Interfaces:
- IssueConstant, IssueType, Comparable
public class MockIssueType
- extends MockIssueConstant
- implements IssueType
- Since:
- v3.13
Methods inherited from class com.atlassian.jira.issue.MockIssueConstant |
compareTo, deleteTranslation, equals, getCompleteIconUrl, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getGenericValue, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, hashCode, setDescription, setIconUrl, setName, setSequence, setTranslatedName, setTranslation, toString, url |
Methods inherited from interface com.atlassian.jira.issue.IssueConstant |
deleteTranslation, getCompleteIconUrl, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getGenericValue, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, setDescription, setIconUrl, setName, setSequence, setTranslation |
MockIssueType
public MockIssueType(String id,
String name)
- Constructs a non subtask IssueType with the given id and name.
- Parameters:
id
- the id.name
- the name.
MockIssueType
public MockIssueType(long id,
String name)
- Constructs a non subtask IssueType with the given id and name.
- Parameters:
id
- the id.name
- the name.
MockIssueType
public MockIssueType(String id,
String name,
boolean subTask)
MockIssueType
public MockIssueType(String id,
String name,
boolean subTask,
Avatar avatar)
isSubTask
public boolean isSubTask()
- Specified by:
isSubTask
in interface IssueType
getAvatar
public Avatar getAvatar()
- Description copied from interface:
IssueType
- 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.
- Specified by:
getAvatar
in interface IssueType
- Returns:
- avatar or null if this item has no avatar assigned.
Copyright © 2002-2014 Atlassian. All Rights Reserved.