Class BaseResolvedFileListProcessor<R,E extends Throwable>
- java.lang.Object
-
- de.xima.fc.workflow.processor.logic.execution.BaseResolvedFileListProcessor<R,E>
-
- 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 Implemented Interfaces:
IResolvedFileListProcessor<R,E>
public abstract class BaseResolvedFileListProcessor<R,E extends Throwable> extends Object implements IResolvedFileListProcessor<R,E>
A base implementation ofIResolvedFileListProcessor
that ignores all errors. You only need to override the methods for the errors you wish to handle.- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description BaseResolvedFileListProcessor()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.IResolvedFileListProcessor
collector
-
-
-
-
Method Detail
-
onAttachmentQueryDoesNotMatch
public void onAttachmentQueryDoesNotMatch(AFileListResolutionError.AttachmentQueryDoesNotMatch error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.ATTACHMENT_QUERY_DOES_NOT_MATCH
.- Specified by:
onAttachmentQueryDoesNotMatch
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onCannotProcessFileList
public void onCannotProcessFileList(AFileListResolutionError.CannotProcessFileList error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.CANNOT_PROCESS_FILE_LIST
.- Specified by:
onCannotProcessFileList
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onCannotProcessResourceItem
public void onCannotProcessResourceItem(AFileListResolutionError.CannotProcessResourceItem error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.CANNOT_PROCESS_RESOURCE_ITEM
.- Specified by:
onCannotProcessResourceItem
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onClientFileDoesNotExist
public void onClientFileDoesNotExist(AFileListResolutionError.ClientFileDoesNotExist error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.CLIENT_FILE_DOES_NOT_EXIST
.- Specified by:
onClientFileDoesNotExist
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onDatabaseError
public void onDatabaseError(AFileListResolutionError.DatabaseError error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.DATABASE_ERROR
.- Specified by:
onDatabaseError
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onExternalUrlCannotBeRead
public void onExternalUrlCannotBeRead(AFileListResolutionError.ExternalUrlCannotBeRead error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.EXTERNAL_URL_CANNOT_BE_READ
.- Specified by:
onExternalUrlCannotBeRead
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onExternalUrlIsSyntacticallyInvalid
public void onExternalUrlIsSyntacticallyInvalid(AFileListResolutionError.ExternalUrlIsSyntacticallyInvalid error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
.- Specified by:
onExternalUrlIsSyntacticallyInvalid
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onFileCountReducedToZeroByFilter
public void onFileCountReducedToZeroByFilter(AFileListResolutionError.FileCountReducedToZeroByFilter error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
.- Specified by:
onFileCountReducedToZeroByFilter
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onFileSystemError
public void onFileSystemError(AFileListResolutionError.FileSystemError error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.FILE_SYSTEM_ERROR
.- Specified by:
onFileSystemError
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onFormFileDoesNotExist
public void onFormFileDoesNotExist(AFileListResolutionError.FormFileDoesNotExist error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.FORM_FILE_DOES_NOT_EXIST
.- Specified by:
onFormFileDoesNotExist
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onNodeDoesNotExist
public void onNodeDoesNotExist(AFileListResolutionError.NodeDoesNotExist error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.NODE_DOES_NOT_EXIST
.- Specified by:
onNodeDoesNotExist
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onNodeDoesNotProvideFiles
public void onNodeDoesNotProvideFiles(AFileListResolutionError.NodeDoesNotProvideFiles error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.NODE_DOES_NOT_PROVIDE_FILES
.- Specified by:
onNodeDoesNotProvideFiles
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onNodeNotExecuted
public void onNodeNotExecuted(AFileListResolutionError.NodeNotExecuted error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.NODE_NOT_EXECUTED
.- Specified by:
onNodeNotExecuted
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onResolvedFileListEmpty
public void onResolvedFileListEmpty() throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback when all resource items were resolved and not a single file was found.- Specified by:
onResolvedFileListEmpty
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onUploadFieldDoesNotExist
public void onUploadFieldDoesNotExist(AFileListResolutionError.UploadFieldDoesNotExist error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_EXIST
.- Specified by:
onUploadFieldDoesNotExist
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
onUploadFieldDoesNotProvideFiles
public void onUploadFieldDoesNotProvideFiles(AFileListResolutionError.UploadFieldDoesNotProvideFiles error) throws E extends Throwable
Description copied from interface:IResolvedFileListProcessor
Callback for handling an error of typeEResourceItemResolutionError.UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
.- Specified by:
onUploadFieldDoesNotProvideFiles
in interfaceIResolvedFileListProcessor<R,E extends Throwable>
- Parameters:
error
- The error that occurred.- Throws:
E
- May be thrown when the error cannot be handled otherwise. This exception is propagated.E extends Throwable
-
-