Package com.atlassian.jira.issue
Class TextIssueConstant
java.lang.Object
com.atlassian.jira.issue.TextIssueConstant
- All Implemented Interfaces:
IssueConstant,Named,NamedWithDescription,Comparable
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionTextIssueConstant(String nameKey, String descriptionKey, String iconUrl, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeleteTranslation(String issueConstantPrefix, Locale locale) Returns 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.PropertySetvoidsetDescription(String description) voidsetIconUrl(String iconURL) voidvoidsetSequence(Long sequence) voidsetTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
-
Constructor Details
-
TextIssueConstant
public TextIssueConstant(String nameKey, String descriptionKey, String iconUrl, JiraAuthenticationContext authenticationContext)
-
-
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
-
getNameTranslation
- Specified by:
getNameTranslationin interfaceIssueConstant
-
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
-