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

@PublicApi public class SimpleDataEntry extends Object implements DataEntry, Serializable
See Also:
  • Constructor Details

  • Method Details

    • createEmpty

      public static DataEntry createEmpty()
    • 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
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAvatarData

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object