Interface EntityFieldValuesFactory

All Known Implementing Classes:
DefaultEntityFieldValuesFactory

public interface EntityFieldValuesFactory
Abstracts the means to create the list of field values for an entity (issue, change, comment, or work log).
Since:
10.4
  • Method Details

    • createFieldValues

      <T extends WithId> FieldValues createFieldValues(Class<T> clazz, T entity)
    • createFieldValues

      <T extends WithId> Map<T,FieldValues> createFieldValues(Class<T> clazz, List<T> entities)
      Batching API so that field values factories (and in turn extractors) can handle multiple entities.
      Type Parameters:
      T - The type of the entity to index.
      Parameters:
      clazz - The type of the entity to index.
      entities - One or more entities.
      Returns:
      The field values indexed by entity.
      Since:
      11.1