Class ImportStatus
java.lang.Object
it.uniroma2.art.semanticturkey.ontology.ImportStatus
- Author:
- Armando Stellato
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImportStatus
createFailedStatus
(String reason) getValue()
void
setCacheFile
(OntFile cacheFile) sets the cache file for this importStatusvoid
void
setValue
(ImportStatus.Values status) void
setValue
(ImportStatus.Values status, OntFile cacheFile)
-
Constructor Details
-
ImportStatus
-
-
Method Details
-
createFailedStatus
-
getCacheFile
- Returns:
- the cacheFile, this is only the name of the file; complete path is resolved by the application on the basis of the
status
-
setCacheFile
sets the cache file for this importStatus- Parameters:
cacheFile
-
-
getValue
- Returns:
- the status of the import, it explains whether a given import is LOCAL, WEB, NULL or FAILED
-
getReason
- Returns:
- the reason for the failed import (
null
if status!=FAILED)
-
setValue
-
setValue
-
setFailed
-