@PublicApi
public interface EntityPropertyConditionHelper
Modifier and Type | Method and Description |
---|---|
Optional<Long> |
getEntityId(JiraWebContext context)
Extracts the id of the entity from context.
|
String |
getEntityName() |
EntityPropertyService.PropertyResult |
getProperty(ApplicationUser user,
Long entityId,
String propertyKey)
Returns the entity property for the given and .
|
String getEntityName()
Optional<Long> getEntityId(JiraWebContext context)
context
- - context of the web element for which the condition is evaluated. Please note,
that does not have a fixed contract.EntityPropertyService.PropertyResult getProperty(ApplicationUser user, Long entityId, String propertyKey)
user
- - authenticated user, who retrieves the property.entityId
- - id of the entity.propertyKey
- - key of the property to retrieve.Copyright © 2002-2017 Atlassian. All Rights Reserved.