Class DecoratedEntityLink
- java.lang.Object
-
- com.atlassian.bamboo.ww2.actions.project.DecoratedEntityLink
-
- All Implemented Interfaces:
Comparable<DecoratedEntityLink>
@Immutable public class DecoratedEntityLink extends Object implements Comparable<DecoratedEntityLink>
Decorated version ofEntityLink
-
-
Constructor Summary
Constructors Constructor Description DecoratedEntityLink(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, @NotNull com.atlassian.applinks.api.EntityLink entityLink)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DecoratedEntityLink o)
static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityLink>
fromEntityLink(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
DecoratedApplicationLink
getApplicationLink()
String
getDisplayName()
String
getDisplayUrl()
String
getIconUrl()
String
getId()
@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject
getJson()
String
getKey()
String
getName()
-
-
-
Method Detail
-
compareTo
public int compareTo(DecoratedEntityLink o)
- Specified by:
compareTo
in interfaceComparable<DecoratedEntityLink>
-
fromEntityLink
public static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityLink> fromEntityLink(@NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
-
getJson
@NotNull public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJson() throws com.opensymphony.webwork.dispatcher.json.JSONException
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
-
getApplicationLink
public DecoratedApplicationLink getApplicationLink()
-
getKey
public String getKey()
-
getName
public String getName()
-
getDisplayName
public String getDisplayName()
-
getDisplayUrl
public String getDisplayUrl()
-
getIconUrl
public String getIconUrl()
-
getId
public String getId()
-
-