Interface IImportResult
- All Superinterfaces:
IImportResultHashables
Import Operation Result
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescription@NotNull IImportResultCreate a clone of this object@NotNull List<IImportResultEntry> List of newly created entities@NotNull List<IImportResultEntry> List of newly created non-entity elements@NotNull List<IImportResultEntry> List of problems@NotNull List<IImportResultEntry> List of updated elementsbooleanCheck if given result reports about problemsbooleanisValid()Does this result belong to a valid importbooleanIf the import failed, this flag may allow TS to retry the import later.Methods inherited from interface com.idmedia.translationstudio.api.hook.IImportResultHashables
getTranslatedHashes, hasTranslationHashes
-
Method Details
-
getUpdated
List of updated elements- Returns:
- List, never
null
-
getCreatedNonEntity
List of newly created non-entity elements- Returns:
- List, never
null
-
getCreatedEntity
List of newly created entities- Returns:
- List, never
null
-
getProblems
List of problems- Returns:
- List, never
nullbut may be empty
-
retryFileAgain
boolean retryFileAgain()If the import failed, this flag may allow TS to retry the import later.- Returns:
-
hasProblems
boolean hasProblems()Check if given result reports about problems- Returns:
-
duplicate
Create a clone of this object- Returns:
- Clone, never
null
-
isValid
boolean isValid()Does this result belong to a valid import- Returns:
-