Class DesignImportResult

java.lang.Object
com.day.cq.wcm.designimporter.DesignImportResult

public class DesignImportResult extends Object
Encapsulates the result of the design package import.
  • Constructor Details

    • DesignImportResult

      public DesignImportResult(List<String> warnings)
  • Method Details

    • getWarnings

      public List<String> getWarnings()
      Gets the list of warnings that occurred during the import process
      Returns:
      The list of warnings that occurred during the import process
    • isSuccessful

      public boolean isSuccessful()
      Indicates if the import process was free of any errors and warnings.
      Returns:
      true if the import process completed without any errors or warnings.
    • hasWarnings

      public boolean hasWarnings()
      Indicates if any warnings occured during the import of the design package.
      Returns:
      true if any warnings were logged during the import of the design package.
    • getStatus

      public DesignImportResult.Status getStatus()
      Result of design package import
      Returns:
      Status enum