public class

TextIssueConstant

extends Object
implements IssueConstant
java.lang.Object
   ↳ com.atlassian.jira.issue.TextIssueConstant

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.util.Named
Public Constructors
TextIssueConstant(String nameKey, String descriptionKey, String iconUrl, JiraAuthenticationContext authenticationContext)
Public Methods
int compareTo(Object o)
void deleteTranslation(String issueConstantPrefix, Locale locale)
String getCompleteIconUrl()
Returns the url for the icon with the context path added if necessary.
String getDescTranslation()
String getDescTranslation(I18nHelper i18n)
String getDescTranslation(String locale)
String getDescription()
GenericValue getGenericValue()
String getIconUrl()
String getIconUrlHtml()
Returns the HTML-escaped URL for this issue constant.
String getId()
String getName()
String getNameTranslation(String locale)
String getNameTranslation()
String getNameTranslation(I18nHelper i18n)
PropertySet getPropertySet()
Long getSequence()
void setDescription(String description)
void setIconUrl(String iconURL)
void setName(String name)
void setSequence(Long sequence)
void setTranslation(String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.IssueConstant
From interface com.atlassian.jira.util.Named
From interface com.atlassian.jira.util.NamedWithDescription
From interface java.lang.Comparable

Public Constructors

public TextIssueConstant (String nameKey, String descriptionKey, String iconUrl, JiraAuthenticationContext authenticationContext)

Public Methods

public int compareTo (Object o)

public void deleteTranslation (String issueConstantPrefix, Locale locale)

public String getCompleteIconUrl ()

Returns the url for the icon with the context path added if necessary.

Returns
  • the url for the icon with the context path added if necessary. null will be returned if there is no icon URL.

public String getDescTranslation ()

public String getDescTranslation (I18nHelper i18n)

public String getDescTranslation (String locale)

public String getDescription ()

public GenericValue getGenericValue ()

public String getIconUrl ()

public String getIconUrlHtml ()

Returns the HTML-escaped URL for this issue constant.

Returns
  • a String containing an HTML-escaped icon URL

public String getId ()

public String getName ()

public String getNameTranslation (String locale)

public String getNameTranslation ()

public String getNameTranslation (I18nHelper i18n)

public PropertySet getPropertySet ()

public Long getSequence ()

public void setDescription (String description)

public void setIconUrl (String iconURL)

public void setName (String name)

public void setSequence (Long sequence)

public void setTranslation (String translatedName, String translatedDesc, String issueConstantPrefix, Locale locale)