com.atlassian.bamboo.ww2.actions.project
Class DecoratedEntityLink

java.lang.Object
  extended by com.atlassian.bamboo.ww2.actions.project.DecoratedEntityLink
All Implemented Interfaces:
java.lang.Comparable<DecoratedEntityLink>

@Immutable
public class DecoratedEntityLink
extends java.lang.Object
implements java.lang.Comparable<DecoratedEntityLink>

Decorated version of EntityLink


Constructor Summary
DecoratedEntityLink(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, com.atlassian.applinks.api.EntityLink entityLink)
           
 
Method Summary
 int compareTo(DecoratedEntityLink o)
           
static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityLink> fromEntityLink(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
           
 DecoratedApplicationLink getApplicationLink()
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayUrl()
           
 java.lang.String getIconUrl()
           
 java.lang.String getId()
           
 com.opensymphony.webwork.dispatcher.json.JSONObject getJson()
           
 java.lang.String getKey()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratedEntityLink

public DecoratedEntityLink(@NotNull
                           com.atlassian.core.i18n.I18nTextProvider i18nTextProvider,
                           @NotNull
                           com.atlassian.applinks.api.EntityLink entityLink)
Method Detail

compareTo

public int compareTo(DecoratedEntityLink o)
Specified by:
compareTo in interface java.lang.Comparable<DecoratedEntityLink>

fromEntityLink

public static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityLink> fromEntityLink(@NotNull
                                                                                                                        com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)

getJson

@NotNull
public 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 java.lang.String getKey()

getName

public java.lang.String getName()

getDisplayName

public java.lang.String getDisplayName()

getDisplayUrl

public java.lang.String getDisplayUrl()

getIconUrl

public java.lang.String getIconUrl()

getId

public java.lang.String getId()


Copyright © 2011 Atlassian. All Rights Reserved.