@PublicApi public class SimpleDataEntry extends Object implements DataEntry, Serializable
Constructor and Description |
---|
SimpleDataEntry(Map<DataLocator,List<String>> data) |
SimpleDataEntry(Map<DataLocator,List<String>> data,
byte[] avatarData) |
Modifier and Type | Method and Description |
---|---|
void |
addDataEntry(DataLocator locator,
List<String> dataValue) |
String |
asPrintableString() |
static DataEntry |
createEmpty() |
List<String> |
dataForLocator(DataLocator dataLocator)
Data returned from a data locator can be one or multiple values.
|
boolean |
equals(Object o) |
byte[] |
getAvatarData() |
int |
hashCode() |
Collection<DataLocator> |
presentDataLocators() |
String |
toString() |
public SimpleDataEntry(Map<DataLocator,List<String>> data)
public SimpleDataEntry(Map<DataLocator,List<String>> data, byte[] avatarData)
public static DataEntry createEmpty()
public List<String> dataForLocator(DataLocator dataLocator)
DataEntry
dataForLocator
in interface DataEntry
public void addDataEntry(DataLocator locator, List<String> dataValue)
addDataEntry
in interface DataEntry
public String asPrintableString()
asPrintableString
in interface DataEntry
public Collection<DataLocator> presentDataLocators()
presentDataLocators
in interface DataEntry
public byte[] getAvatarData()
getAvatarData
in interface DataEntry
Copyright © 2023 Atlassian. All rights reserved.