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

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

public class DecoratedApplicationLink
extends java.lang.Object
implements java.lang.Comparable<DecoratedApplicationLink>

Decorated version of ApplicationLink Note: this class has a natural ordering that is inconsistent with equals


Constructor Summary
DecoratedApplicationLink(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, com.atlassian.applinks.api.ApplicationLink applicationLink)
           
 
Method Summary
 int compareTo(DecoratedApplicationLink o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayUrl()
           
 java.lang.String getId()
           
 com.opensymphony.webwork.dispatcher.json.JSONObject getJson()
           
 DecoratedApplicationType getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratedApplicationLink

public DecoratedApplicationLink(@NotNull
                                com.atlassian.core.i18n.I18nTextProvider i18nTextProvider,
                                @NotNull
                                com.atlassian.applinks.api.ApplicationLink applicationLink)
Method Detail

compareTo

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getJson

@NotNull
public com.opensymphony.webwork.dispatcher.json.JSONObject getJson()
                                                            throws com.opensymphony.webwork.dispatcher.json.JSONException
Throws:
com.opensymphony.webwork.dispatcher.json.JSONException

getId

public java.lang.String getId()

getType

public DecoratedApplicationType getType()

getDisplayName

public java.lang.String getDisplayName()

getDisplayUrl

public java.lang.String getDisplayUrl()


Copyright © 2012 Atlassian. All Rights Reserved.