Class MockIssueType
java.lang.Object
com.atlassian.jira.issue.MockIssueConstant
com.atlassian.jira.issue.issuetype.MockIssueType
- All Implemented Interfaces:
IssueConstant,IssueType,Named,NamedWithDescription,Comparable
- Since:
- v3.13
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionMockIssueType(long id, String name) Constructs a non subtask IssueType with the given id and name.MockIssueType(String 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) MockIssueType(String id, String name, String description) MockIssueType(String id, String name, String description, boolean subTask) -
Method Summary
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, urlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.jira.issue.IssueConstant
getCompleteIconUrl, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getSequence
-
Constructor Details
-
MockIssueType
Constructs a non subtask IssueType with the given id and name.- Parameters:
id- the id.name- the name.
-
MockIssueType
Constructs a non subtask IssueType with the given id and name.- Parameters:
id- the id.name- the name.
-
MockIssueType
-
MockIssueType
-
MockIssueType
-
MockIssueType
-
-
Method Details
-
isSubTask
public boolean isSubTask() -
getAvatar
Description copied from interface:IssueTypeGet 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.
-