Interface IResourceItemResolutionErrorProviding
-
- All Known Subinterfaces:
IResolvedFileList
,IResolvedResourceItem
- All Known Implementing Classes:
ResolvedFileList
,ResolvedResourceItem
public interface IResourceItemResolutionErrorProviding
Common interface for both the resolved file list and each resolved resource item, which both provide access to the errors that occurred.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
-
-
-
Method Detail
-
getErrors
@Nonnull Map<EResourceItemResolutionError,List<AFileListResolutionError>> getErrors()
- Returns:
- All errors that occurred during the resource item's resolution.
-
getErrors
@Nonnull default List<AFileListResolutionError> getErrors(EResourceItemResolutionError type)
- Parameters:
type
- Type of errors to retrieve.- Returns:
- A list with all errors of the given type.
-
getErrorsAttachmentFilterDoesNotMatch
@Nonnull default List<AFileListResolutionError.AttachmentQueryDoesNotMatch> getErrorsAttachmentFilterDoesNotMatch()
- Returns:
- All errors of type
EResourceItemResolutionError.ATTACHMENT_QUERY_DOES_NOT_MATCH
.
-
getErrorsCannotProcessFileList
@Nonnull default List<AFileListResolutionError.CannotProcessFileList> getErrorsCannotProcessFileList()
- Returns:
- All errors of type
EResourceItemResolutionError.CANNOT_PROCESS_FILE_LIST
.
-
getErrorsCannotProcessResourceItem
@Nonnull default List<AFileListResolutionError.CannotProcessResourceItem> getErrorsCannotProcessResourceItem()
- Returns:
- All errors of type
EResourceItemResolutionError.CANNOT_PROCESS_RESOURCE_ITEM
.
-
getErrorsClientFileDoesNotExist
@Nonnull default List<AFileListResolutionError.ClientFileDoesNotExist> getErrorsClientFileDoesNotExist()
- Returns:
- All errors of type
EResourceItemResolutionError.CLIENT_FILE_DOES_NOT_EXIST
.
-
getErrorsDatabaseError
@Nonnull default List<AFileListResolutionError.DatabaseError> getErrorsDatabaseError()
- Returns:
- All errors of type
EResourceItemResolutionError.DATABASE_ERROR
.
-
getErrorsExternalUrlCannotBeRead
@Nonnull default List<AFileListResolutionError.ExternalUrlCannotBeRead> getErrorsExternalUrlCannotBeRead()
- Returns:
- All errors of type
EResourceItemResolutionError.EXTERNAL_URL_CANNOT_BE_READ
.
-
getErrorsExternalUrlIsSyntacticallyInvalid
@Nonnull default List<AFileListResolutionError.ExternalUrlIsSyntacticallyInvalid> getErrorsExternalUrlIsSyntacticallyInvalid()
- Returns:
- All errors of type
EResourceItemResolutionError.EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
.
-
getErrorsFileCountReducedTozeroByFilterOptions
@Nonnull default List<AFileListResolutionError.FileCountReducedToZeroByFilter> getErrorsFileCountReducedTozeroByFilterOptions()
- Returns:
- All errors of type
EResourceItemResolutionError.FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
.
-
getErrorsFileSystemError
@Nonnull default List<AFileListResolutionError.FileSystemError> getErrorsFileSystemError()
- Returns:
- All errors of type
EResourceItemResolutionError.FILE_SYSTEM_ERROR
.
-
getErrorsFormFileDoesNotExist
@Nonnull default List<AFileListResolutionError.FormFileDoesNotExist> getErrorsFormFileDoesNotExist()
- Returns:
- All errors of type
EResourceItemResolutionError.FORM_FILE_DOES_NOT_EXIST
.
-
getErrorsNodeDoesNotExist
@Nonnull default List<AFileListResolutionError.NodeDoesNotExist> getErrorsNodeDoesNotExist()
- Returns:
- All errors of type
EResourceItemResolutionError.NODE_DOES_NOT_EXIST
.
-
getErrorsNodeDoesNotProvideFiles
@Nonnull default List<AFileListResolutionError.NodeDoesNotProvideFiles> getErrorsNodeDoesNotProvideFiles()
- Returns:
- All errors of type
EResourceItemResolutionError.NODE_DOES_NOT_PROVIDE_FILES
.
-
getErrorsNodeNotExecuted
@Nonnull default List<AFileListResolutionError.NodeNotExecuted> getErrorsNodeNotExecuted()
- Returns:
- All errors of type
EResourceItemResolutionError.NODE_NOT_EXECUTED
.
-
getErrorsUploadFieldDoesNotExist
@Nonnull default List<AFileListResolutionError.UploadFieldDoesNotExist> getErrorsUploadFieldDoesNotExist()
- Returns:
- All errors of type
EResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_EXIST
.
-
getErrorsUploadFieldDoesNotProvideFiles
@Nonnull default List<AFileListResolutionError.UploadFieldDoesNotProvideFiles> getErrorsUploadFieldDoesNotProvideFiles()
- Returns:
- All errors of type
EResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
.
-
isHasError
default boolean isHasError(EResourceItemResolutionError type)
- Parameters:
type
- Type to check.- Returns:
true
if at least one error of the given type exists.
-
-