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 of
EntityLink-
Constructor Summary
ConstructorsConstructorDescriptionDecoratedEntityLink(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, @NotNull com.atlassian.applinks.api.EntityLink entityLink) -
Method Summary
Modifier and TypeMethodDescriptionintstatic com.google.common.base.Function<com.atlassian.applinks.api.EntityLink, DecoratedEntityLink> fromEntityLink(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider) getId()@NotNull org.json.JSONObjectgetJson()getKey()getName()
-
Constructor Details
-
DecoratedEntityLink
public DecoratedEntityLink(@NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, @NotNull @NotNull com.atlassian.applinks.api.EntityLink entityLink)
-
-
Method Details
-
compareTo
- Specified by:
compareToin 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 org.json.JSONObject getJson() throws org.json.JSONException- Throws:
org.json.JSONException
-
getApplicationLink
-
getKey
-
getName
-
getDisplayName
-
getDisplayUrl
-
getIconUrl
-
getId
-