Class DecoratedApplicationLink
- java.lang.Object
-
- com.atlassian.bamboo.ww2.actions.project.DecoratedApplicationLink
-
- All Implemented Interfaces:
Comparable<DecoratedApplicationLink>
public class DecoratedApplicationLink extends Object implements Comparable<DecoratedApplicationLink>
Decorated version ofApplicationLink
Note: this class has a natural ordering that is inconsistent with equals
-
-
Constructor Summary
Constructors Constructor Description DecoratedApplicationLink(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DecoratedApplicationLink o)
boolean
equals(Object o)
String
getDisplayName()
String
getDisplayUrl()
String
getId()
@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject
getJson()
DecoratedApplicationType
getType()
int
hashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(DecoratedApplicationLink o)
- Specified by:
compareTo
in interfaceComparable<DecoratedApplicationLink>
-
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
-
getId
public String getId()
-
getType
public DecoratedApplicationType getType()
-
getDisplayName
public String getDisplayName()
-
getDisplayUrl
public String getDisplayUrl()
-
-