Package com.atlassian.jira.issue
Class MockIssueConstant
java.lang.Object
com.atlassian.jira.issue.MockIssueConstant
- All Implemented Interfaces:
IssueConstant,Named,NamedWithDescription,Comparable
- Direct Known Subclasses:
MockIssueType,MockStatus
- Since:
- v3.13
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionMockIssueConstant(String id, String name) MockIssueConstant(org.ofbiz.core.entity.GenericValue genericValue) -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeleteTranslation(String issueConstantPrefix, Locale locale) booleanReturns the url for the icon with the context path added if necessary.getDescTranslation(I18nHelper i18n) getDescTranslation(String locale) org.ofbiz.core.entity.GenericValueReturns the HTML-escaped URL for this issue constant.getId()getName()getNameTranslation(I18nHelper i18n) getNameTranslation(String locale) com.opensymphony.module.propertyset.PropertySetinthashCode()voidsetDescription(String description) voidsetIconUrl(String iconURL) voidvoidsetSequence(Long sequence) setTranslatedName(String translatedName) voidsetTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale) toString()
-
Constructor Details
-
MockIssueConstant
public MockIssueConstant(org.ofbiz.core.entity.GenericValue genericValue) -
MockIssueConstant
-
-
Method Details
-
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue() -
getId
- Specified by:
getIdin interfaceIssueConstant
-
getName
- Specified by:
getNamein interfaceIssueConstant- Specified by:
getNamein interfaceNamed
-
setName
-
getDescription
- Specified by:
getDescriptionin interfaceIssueConstant- Specified by:
getDescriptionin interfaceNamedWithDescription
-
setDescription
-
getSequence
- Specified by:
getSequencein interfaceIssueConstant
-
setSequence
-
getCompleteIconUrl
Description copied from interface:IssueConstantReturns the url for the icon with the context path added if necessary.- Specified by:
getCompleteIconUrlin interfaceIssueConstant- Returns:
- the url for the icon with the context path added if necessary. null will be returned if there is no icon URL.
-
getIconUrl
- Specified by:
getIconUrlin interfaceIssueConstant
-
getIconUrlHtml
Description copied from interface:IssueConstantReturns the HTML-escaped URL for this issue constant.- Specified by:
getIconUrlHtmlin interfaceIssueConstant- Returns:
- a String containing an HTML-escaped icon URL
- See Also:
-
setIconUrl
-
url
-
getNameTranslation
- Specified by:
getNameTranslationin interfaceIssueConstant
-
setTranslatedName
-
getDescTranslation
- Specified by:
getDescTranslationin interfaceIssueConstant
-
getNameTranslation
- Specified by:
getNameTranslationin interfaceIssueConstant
-
getDescTranslation
- Specified by:
getDescTranslationin interfaceIssueConstant
-
getNameTranslation
- Specified by:
getNameTranslationin interfaceIssueConstant
-
getDescTranslation
- Specified by:
getDescTranslationin interfaceIssueConstant
-
setTranslation
-
deleteTranslation
-
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet() -
compareTo
- Specified by:
compareToin interfaceComparable
-
equals
-
hashCode
public int hashCode() -
toString
-