com.almworks.jira.structure.api.attribute.ItemValues Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.attribute;
import com.almworks.jira.structure.api.item.ItemIdentity;
import com.atlassian.annotations.PublicApi;
import org.jetbrains.annotations.Nullable;
/**
* An object that implements {@code ItemValues} interface is supplied as a result of attributes calculation by
* {@link StructureAttributeService#getItemValues}. The interface allows retrieval of values by item and attribute specification.
*
* @see RowValues
* @see StructureAttributeService
* @see AttributeSpec
*/
@PublicApi
public interface ItemValues extends LoadedValues {
ItemValues EMPTY = new ItemValues() {
@Nullable
@Override
public LoadedValue getLoadedValue(@Nullable ItemIdentity key, @Nullable AttributeSpec attribute) {
return null;
}
};
}