Interface IResolvedFileListProcessor<R,E extends Throwable>
-
- Type Parameters:
R
- Type of the combined result of all resource items.E
- Type of the error that may be thrown when in case of an error.
- All Known Implementing Classes:
BaseResolvedFileListProcessor
,StandardErrorFileListProcessor
public interface IResolvedFileListProcessor<R,E extends Throwable>
Handler for processing the results obtained when a list of referenced files was resolved, seeIResolvedFileList.collectResult(IResolvedFileListProcessor)
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
-
-
-
Method Detail
-
collector
Collector<? super IResolvedResourceItem,?,R> collector()
- Returns:
- Collector that combines all resource items into the final result.
-
onAttachmentQueryDoesNotMatch
void onAttachmentQueryDoesNotMatch(AFileListResolutionError.AttachmentQueryDoesNotMatch error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.ATTACHMENT_QUERY_DOES_NOT_MATCH
.
-
onCannotProcessFileList
void onCannotProcessFileList(AFileListResolutionError.CannotProcessFileList error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.CANNOT_PROCESS_FILE_LIST
.
-
onCannotProcessResourceItem
void onCannotProcessResourceItem(AFileListResolutionError.CannotProcessResourceItem error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.CANNOT_PROCESS_RESOURCE_ITEM
.
-
onClientFileDoesNotExist
void onClientFileDoesNotExist(AFileListResolutionError.ClientFileDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.CLIENT_FILE_DOES_NOT_EXIST
.
-
onDatabaseError
void onDatabaseError(AFileListResolutionError.DatabaseError error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.DATABASE_ERROR
.
-
onExternalUrlCannotBeRead
void onExternalUrlCannotBeRead(AFileListResolutionError.ExternalUrlCannotBeRead error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.EXTERNAL_URL_CANNOT_BE_READ
.
-
onExternalUrlIsSyntacticallyInvalid
void onExternalUrlIsSyntacticallyInvalid(AFileListResolutionError.ExternalUrlIsSyntacticallyInvalid error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
.
-
onFileCountReducedToZeroByFilter
void onFileCountReducedToZeroByFilter(AFileListResolutionError.FileCountReducedToZeroByFilter error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
.
-
onFileSystemError
void onFileSystemError(AFileListResolutionError.FileSystemError error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.FILE_SYSTEM_ERROR
.
-
onFormFileDoesNotExist
void onFormFileDoesNotExist(AFileListResolutionError.FormFileDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.FORM_FILE_DOES_NOT_EXIST
.
-
onNodeDoesNotExist
void onNodeDoesNotExist(AFileListResolutionError.NodeDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.NODE_DOES_NOT_EXIST
.
-
onNodeDoesNotProvideFiles
void onNodeDoesNotProvideFiles(AFileListResolutionError.NodeDoesNotProvideFiles error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.NODE_DOES_NOT_PROVIDE_FILES
.
-
onNodeNotExecuted
void onNodeNotExecuted(AFileListResolutionError.NodeNotExecuted error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.NODE_NOT_EXECUTED
.
-
onResolvedFileListEmpty
void onResolvedFileListEmpty() throws E extends Throwable
Callback when all resource items were resolved and not a single file was found.
-
onTriggerDoesNotExist
void onTriggerDoesNotExist(AFileListResolutionError.TriggerDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.TRIGGER_DOES_NOT_EXIST
.
-
onTriggerDoesNotProvideFiles
void onTriggerDoesNotProvideFiles(AFileListResolutionError.TriggerDoesNotProvideFiles error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.TRIGGER_DOES_NOT_PROVIDE_FILES
.
-
onTriggerNotFired
void onTriggerNotFired(AFileListResolutionError.TriggerNotFired error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.TRIGGER_NOT_FIRED
.
-
onUploadFieldDoesNotExist
void onUploadFieldDoesNotExist(AFileListResolutionError.UploadFieldDoesNotExist error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_EXIST
.
-
onUploadFieldDoesNotProvideFiles
void onUploadFieldDoesNotProvideFiles(AFileListResolutionError.UploadFieldDoesNotProvideFiles error) throws E extends Throwable
Callback for handling an error of typeEResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
.
-
-