Package org.nuclos.api.objectimport
Class ImportResult
java.lang.Object
org.nuclos.api.objectimport.ImportResult
This class represents the return value of an import process. It is used by the ImportProvider and contains log-information
and messages to evaluate the success of the complete import process.
- Author:
- reichama
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the log file that has been created during import processThis method returns all messages of the import process as a String.boolean
This method returns a boolean signifying whether the import process was successful or not.
-
Constructor Details
-
ImportResult
-
-
Method Details
-
hasErrors
public boolean hasErrors()This method returns a boolean signifying whether the import process was successful or not. In case of errors it returns 'true'- Returns:
- boolean
-
getMessages
This method returns all messages of the import process as a String. It may contain errors and simple debug information. UsehasErrors()
to check if the process was successful- Returns:
- String
-
getLogFile
This method returns the log file that has been created during import process- Returns:
NuclosFile
logFile
-