com.atlassian.bamboo.ww2.actions.project
Class DecoratedEntityReference
java.lang.Object
com.atlassian.bamboo.ww2.actions.project.DecoratedEntityReference
- All Implemented Interfaces:
- java.lang.Comparable<DecoratedEntityReference>
public class DecoratedEntityReference
- extends java.lang.Object
- implements java.lang.Comparable<DecoratedEntityReference>
Decorated version of EntityReference
Note: this class has a natural ordering that is inconsistent with equals
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
compareTo
public int compareTo(DecoratedEntityReference o)
- Specified by:
compareTo
in interface java.lang.Comparable<DecoratedEntityReference>
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
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<java.util.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 java.lang.String getKey()
getName
public java.lang.String getName()
getCompositeKey
public java.lang.String getCompositeKey()
getDisplayName
public java.lang.String getDisplayName()
Copyright © 2011 Atlassian. All Rights Reserved.