java.lang.Object
com.riadalabs.jira.plugins.insight.services.imports.common.external.model.InternalDataEntry
All Implemented Interfaces:
DataEntry

@PublicApi public class InternalDataEntry extends Object implements DataEntry
  • Constructor Details

    • InternalDataEntry

      public InternalDataEntry(Integer importSourceOTId, DataEntry dataEntry)
  • Method Details

    • dataForLocator

      public List<String> dataForLocator(DataLocator dataLocator)
      Description copied from interface: DataEntry
      Data returned from a data locator can be one or multiple values. Each element in the list will be treated in order and considered a unique value. If the import configuration specifies that only one value can fit in the Insight attribute and multiple values are returned they will be concatenated before inserted as an attribute value. In the case of object references the values will be found by different placeholders
      Specified by:
      dataForLocator in interface DataEntry
    • getAvatarData

      public byte[] getAvatarData()
      Specified by:
      getAvatarData in interface DataEntry
    • addDataEntry

      public void addDataEntry(DataLocator locator, List<String> dataValue)
      Specified by:
      addDataEntry in interface DataEntry
    • asPrintableString

      public String asPrintableString()
      Specified by:
      asPrintableString in interface DataEntry
    • presentDataLocators

      public Collection<DataLocator> presentDataLocators()
      Specified by:
      presentDataLocators in interface DataEntry
      Returns:
      all available data locators for this data entry
    • getImportSourceOTId

      public Integer getImportSourceOTId()
    • toString

      public String toString()
      Overrides:
      toString in class Object