@PublicApi public class InMemoryInternalDataHolder extends InternalImportDataHolder
| Constructor and Description |
|---|
InMemoryInternalDataHolder(Integer importSourceOTId,
ImportDataHolder importDataHolder) |
| Modifier and Type | Method and Description |
|---|---|
String |
asPrintableString(boolean includeData) |
boolean |
dataToImport()
Used to indicate if data exist to import.
|
boolean |
hasNext()
Return true if a call to nextEntry will return more data.
|
DataEntry |
nextEntry()
Reads an object entry.
|
int |
numberOfEntries()
Returns the number of entries that this data holder contains
|
ExternalDataParseResult |
parsedResult()
Was all external data parsed? This is a way to inform the import that the data holder may not be complete.
|
getImportSourceOTIdpublic InMemoryInternalDataHolder(Integer importSourceOTId, ImportDataHolder importDataHolder)
public String asPrintableString(boolean includeData)
public boolean hasNext()
ImportDataHolderpublic DataEntry nextEntry()
ImportDataHoldernull to indicate that all data has been processed.
An empty list will be treated as end of data and no more data will be read (the same as with null)public int numberOfEntries()
ImportDataHolderpublic boolean dataToImport()
ImportDataHolderpublic ExternalDataParseResult parsedResult()
ImportDataHolderCopyright © 2024 Atlassian. All rights reserved.