Package com.day.cq.wcm.designimporter
Class DesignImportResult
- java.lang.Object
-
- com.day.cq.wcm.designimporter.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 importjava.util.List<java.lang.String>
getWarnings()
Gets the list of warnings that occurred during the import processboolean
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.
-
-
-
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.
-
getStatus
public DesignImportResult.Status getStatus()
Result of design package import- Returns:
- Status enum
-
-