Package com.day.cq.wcm.designimporter
Class DesignImportResult
java.lang.Object
com.day.cq.wcm.designimporter.DesignImportResult
Encapsulates the result of the design package import.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResult of design package importGets the list of warnings that occurred during the import processbooleanIndicates if any warnings occured during the import of the design package.booleanIndicates if the import process was free of any errors and warnings.
-
Constructor Details
-
DesignImportResult
-
-
Method Details
-
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
Result of design package import- Returns:
- Status enum
-