Class SimpleDataEntry
java.lang.Object
com.riadalabs.jira.plugins.insight.services.imports.common.external.model.SimpleDataEntry
- All Implemented Interfaces:
DataEntry
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDataEntry
(Map<DataLocator, List<String>> data) SimpleDataEntry
(Map<DataLocator, List<String>> data, byte[] avatarData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataEntry
(DataLocator locator, List<String> dataValue) static DataEntry
dataForLocator
(DataLocator dataLocator) Data returned from a data locator can be one or multiple values.boolean
byte[]
int
hashCode()
toString()
-
Constructor Details
-
SimpleDataEntry
-
SimpleDataEntry
-
-
Method Details
-
createEmpty
-
dataForLocator
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 interfaceDataEntry
-
addDataEntry
- Specified by:
addDataEntry
in interfaceDataEntry
-
asPrintableString
- Specified by:
asPrintableString
in interfaceDataEntry
-
presentDataLocators
- Specified by:
presentDataLocators
in interfaceDataEntry
- Returns:
- all available data locators for this data entry
-
toString
-
getAvatarData
public byte[] getAvatarData()- Specified by:
getAvatarData
in interfaceDataEntry
-
equals
-
hashCode
public int hashCode()
-