Class ImportResult

java.lang.Object
org.nuclos.api.objectimport.ImportResult

public class ImportResult extends Object
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 Details

    • ImportResult

      public ImportResult(boolean hasErrors, String message, NuclosFile logFile)
  • 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

      public String getMessages()
      This method returns all messages of the import process as a String. It may contain errors and simple debug information. Use hasErrors() to check if the process was successful
      Returns:
      String
    • getLogFile

      public NuclosFile getLogFile()
      This method returns the log file that has been created during import process
      Returns:
      NuclosFile logFile