Package com.atlassian.applinks.api.event
Class EntityLinkEvent
java.lang.Object
com.atlassian.applinks.api.event.EntityLinkEvent
- All Implemented Interfaces:
LinkEvent
- Direct Known Subclasses:
EntityLinkAddedEvent,EntityLinkDeletedEvent
Base class for events emitted when an
EntityLink is modified- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EntityLinkprotected final Stringprotected final Class<? extends EntityType> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntityLinkEvent(EntityLink entityLink, String localKey, Class<? extends EntityType> localType) -
Method Summary
-
Field Details
-
entityLink
-
localKey
-
localType
-
-
Constructor Details
-
EntityLinkEvent
protected EntityLinkEvent(EntityLink entityLink, String localKey, Class<? extends EntityType> localType)
-
-
Method Details
-
getApplicationId
- Returns:
- the globally unique, immutable ID of the server at the other end of this link.
-
getApplicationType
- Returns:
- the type of the application e.g. "fecru"
-
getEntityType
-
getEntityKey
- Returns:
- the remote project-level entity key (e.g. JRA, JIRAEXT)
-
getLocalKey
- Returns:
- the local key of the entity that this entity link belongs to.
- Since:
- 3.2
-
getLocalType
- Returns:
- the type of the local entity that this entity link belongs to.
- Since:
- 3.2
-