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

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

public class DecoratedEntityReference
extends Object
implements Comparable<DecoratedEntityReference>

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


Method Summary
 int compareTo(DecoratedEntityReference o)
           
 boolean equals(Object o)
           
static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityReference> fromEntityLink(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
           
static com.google.common.base.Function<com.atlassian.applinks.host.spi.EntityReference,DecoratedEntityReference> fromEntityReference(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, com.atlassian.applinks.api.ApplicationLink applicationLink)
           
static com.google.common.base.Function<Map.Entry<com.atlassian.applinks.api.ApplicationLink,com.atlassian.applinks.host.spi.EntityReference>,DecoratedEntityReference> fromEntityReferenceMap(com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
           
 DecoratedApplicationLink getApplicationLink()
           
 String getCompositeKey()
           
 String getDisplayName()
           
 String getKey()
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(DecoratedEntityReference o)
Specified by:
compareTo in interface Comparable<DecoratedEntityReference>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

fromEntityReference

public static com.google.common.base.Function<com.atlassian.applinks.host.spi.EntityReference,DecoratedEntityReference> fromEntityReference(@NotNull
                                                                                                                                            com.atlassian.core.i18n.I18nTextProvider i18nTextProvider,
                                                                                                                                            @NotNull
                                                                                                                                            com.atlassian.applinks.api.ApplicationLink applicationLink)

fromEntityReferenceMap

public static com.google.common.base.Function<Map.Entry<com.atlassian.applinks.api.ApplicationLink,com.atlassian.applinks.host.spi.EntityReference>,DecoratedEntityReference> fromEntityReferenceMap(@NotNull
                                                                                                                                                                                                     com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)

fromEntityLink

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

getApplicationLink

public DecoratedApplicationLink getApplicationLink()

getKey

public String getKey()

getName

public String getName()

getCompositeKey

public String getCompositeKey()

getDisplayName

public String getDisplayName()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.