com.atlassian.jira.issue.issuetype
Class MockIssueType

java.lang.Object
  extended by com.atlassian.jira.issue.MockIssueConstant
      extended by com.atlassian.jira.issue.issuetype.MockIssueType
All Implemented Interfaces:
IssueConstant, IssueType, Comparable

public class MockIssueType
extends MockIssueConstant
implements IssueType

Since:
v3.13

Constructor Summary
MockIssueType(String id, String name)
          Constructs a non subtask IssueType with the given id and name.
MockIssueType(String id, String name, boolean subTask)
           
 
Method Summary
 boolean isSubTask()
           
 
Methods inherited from class com.atlassian.jira.issue.MockIssueConstant
compareTo, deleteTranslation, equals, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getGenericValue, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, hashCode, setDescription, setIconUrl, setName, setSequence, setTranslation, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.IssueConstant
deleteTranslation, getDescription, getDescTranslation, getDescTranslation, getDescTranslation, getGenericValue, getIconUrl, getIconUrlHtml, getId, getName, getNameTranslation, getNameTranslation, getNameTranslation, getPropertySet, getSequence, setDescription, setIconUrl, setName, setSequence, setTranslation
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

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(String id,
                     String name,
                     boolean subTask)
Method Detail

isSubTask

public boolean isSubTask()
Specified by:
isSubTask in interface IssueType


Copyright © 2002-2012 Atlassian. All Rights Reserved.