All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almworks.jira.structure.api.attribute.ItemValues Maven / Gradle / Ivy

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;
    }
  };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy