Class DesignImportResult


  • public class DesignImportResult
    extends java.lang.Object
    Encapsulates the result of the design package import.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DesignImportResult.Status
      Import result status
    • Constructor Summary

      Constructors 
      Constructor Description
      DesignImportResult​(java.util.List<java.lang.String> warnings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DesignImportResult.Status getStatus()
      Result of design package import
      java.util.List<java.lang.String> getWarnings()
      Gets the list of warnings that occurred during the import process
      boolean hasWarnings()
      Indicates if any warnings occured during the import of the design package.
      boolean isSuccessful()
      Indicates if the import process was free of any errors and warnings.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DesignImportResult

        public DesignImportResult​(java.util.List<java.lang.String> warnings)
    • Method Detail

      • getWarnings

        public java.util.List<java.lang.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.