Class DecoratedEntityReference
java.lang.Object
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
Modifier and TypeMethodDescriptionint
boolean
static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,
DecoratedEntityReference> fromEntityLink
(@NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider) 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) 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) getKey()
getName()
int
hashCode()
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DecoratedEntityReference>
-
equals
-
hashCode
public int hashCode() -
fromEntityReference
public static com.google.common.base.Function<com.atlassian.applinks.host.spi.EntityReference,DecoratedEntityReference> fromEntityReference(@NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider, @NotNull @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>, fromEntityReferenceMapDecoratedEntityReference> (@NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider) -
fromEntityLink
public static com.google.common.base.Function<com.atlassian.applinks.api.EntityLink,DecoratedEntityReference> fromEntityLink(@NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider) -
getApplicationLink
-
getKey
-
getName
-
getCompositeKey
-
getDisplayName
-