Interface ItemAttributeContext
- All Superinterfaces:
AttributeContext,AttributeLoaderContext
The context interface for item attribute loaders.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<I> IReturns the object representing the loaded item.Returns the item being currently loaded, equal to the first parameter ofItemAttributeLoader.loadValue(com.almworks.jira.structure.api.item.ItemIdentity, com.almworks.jira.structure.api.attribute.loader.ItemAttributeContext).Methods inherited from interface AttributeContext
getBaseStructureId, getBaseUrl, getI18n, getI18nHelper, getLoadTimeMillis, getLoadTimeNanos, getLocale, getObject, getTimeZone, getUser, putObjectMethods inherited from interface AttributeLoaderContext
addTrail, addTrail, getDependencyAttributeValue, getDependencyValue, valueExpires
-
Method Details
-
getItemId
Returns the item being currently loaded, equal to the first parameter ofItemAttributeLoader.loadValue(com.almworks.jira.structure.api.item.ItemIdentity, com.almworks.jira.structure.api.attribute.loader.ItemAttributeContext).- Returns:
- item being loaded
-
getItem
Returns the object representing the loaded item.- Parameters:
itemClass- expected object type- Returns:
- the item being loaded, if it matches the expected type, or
nullif it cannot be provided - See Also:
-