Skip navigation links

Package com.almworks.jira.structure.api.attribute

This package provides API for using attributes, a concept added by Structure platform for universal access to item data.

See: Description

Package com.almworks.jira.structure.api.attribute Description

This package provides API for using attributes, a concept added by Structure platform for universal access to item data.

An attribute is something that can be calculated or retrieved for a structure row. The data shown to the users in structure grid is based on attributes.

An attribute is identified by AttributeSpec. To calculate the values, client code passes ForestSpec, row IDs and attribute specifications to StructureAttributeService and receives a matrix with values as a result.

Attributes can be of three kinds:

Attributes are extensible. The specific implementation of an attribute is provided by Structure itself or by other add-ons. It is therefore important to notice that if an add-on is installed or uninstalled, the implementation of some attributes may change. For the SPI, see com.almworks.jira.structure.api.attribute.loader package.

Note: It is important to differentiate attributes from columns. A column in Structure widget displays some HTML to the user. It usually requires one or more attributes to be loaded, it then takes attribute values and displays them somehow (sometimes as-is, sometimes not — for example, Icons column can display concatenated icons, loaded through several attributes.

Skip navigation links

Copyright © 2017 ALM Works. All Rights Reserved.