com.atlassian.bamboo.ww2.actions.project
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
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.