See: Description
Class | Description |
---|---|
AttributeErrorInfo |
Contains information about problems experienced when loading a particular attribute.
|
AttributeSpec<T> |
AttributeSpec is the "attribute specification", a composite identifier of an attribute. |
AttributeSpecBuilder<T> |
A builder for AttributeSpec.
|
AttributeSpecNormalization |
Provides normalization for attribute spec parameters.
|
AttributeValue<T> |
Represents a value, or lack thereof.
|
ConsistentRowValues |
ConsistentRowValues carries the values loaded in a consistent way, that is, when all the requested data retained their values
during the loading process. |
CoreAttributeSpecs | |
CoreAttributeSpecs.Format | |
CoreAttributeSpecs.Id | |
RowValuesWithUpdateChecker |
This class contains row values and the update checker that can be used to see if these row values may have been outdated.
|
SharedAttributeSpecs |
CoreAttributeSpec contains the attribute specifications and related constants for the well-known attributes. |
SharedAttributeSpecs.Id | |
SharedAttributeSpecs.Param | |
ValueFormat<T> |
ValueFormat is used as a part of AttributeSpec to define in what format the value should be
returned. |
This package provides Attribute API. Attributes is 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 or an item. In Structure-based apps, most item data is retrieved not by going to a corresponding underlying service (like IssueService), but through attributes. Attributes also provide a way to show aggregate or derived values.
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 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.
Copyright © 2024 Tempo Software. All Rights Reserved.