Package de.xima.fc.mdl.enums
Enum EResourceItemResolutionError
- java.lang.Object
-
- java.lang.Enum<EResourceItemResolutionError>
-
- de.xima.fc.mdl.enums.EResourceItemResolutionError
-
- All Implemented Interfaces:
Serializable
,Comparable<EResourceItemResolutionError>
public enum EResourceItemResolutionError extends Enum<EResourceItemResolutionError>
Enumeration of the different error types that can occur when resolving the files references by aResourceItem
.- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENT_QUERY_DOES_NOT_MATCH
ForATTACHMENT_SEARCH
: When not a single attachment was found that matches the search criteria.CANNOT_PROCESS_FILE_LIST
Any other unhandled or unexpected errors that may have occurred while processing the list of referenced files, not specific to a particular resource item.CANNOT_PROCESS_RESOURCE_ITEM
Any other unhandled or unexpected errors that may have occurred while processing a specific resource item.CLIENT_FILE_DOES_NOT_EXIST
ForCLIENT
: When no client file with the given UUID exists.DATABASE_ERROR
When the database could not be accessed when resolving the resource item.EXTERNAL_URL_CANNOT_BE_READ
ForEXTERNAL
: When the data cannot be read from the URL, such as when there is no network connection, the domain cannot be resolved, or the server does not send a response in a timely manner.EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
ForEXTERNAL
: When the URL is syntactically invalid.FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
For all resource item types: When at least one file was found, but none of those files matches the additionalfilter options
provided by the node handler executor.FILE_SYSTEM_ERROR
When a file could not be written to the file system or read from the file system while resolving the resource item.FORM_FILE_DOES_NOT_EXIST
ForFORM
: When no form file with the given UUID exists.NODE_DOES_NOT_EXIST
ForFILE_PROVIDE_ACTION
: When the node with the given ID does not exist in the workflow.NODE_DOES_NOT_PROVIDE_FILES
ForFILE_PROVIDE_ACTION
: When the node was executed, but does not provide any files.NODE_NOT_EXECUTED
ForFILE_PROVIDE_ACTION
: When the node with the given ID exists, but was not executed during the current workflow execution.UPLOAD_FIELD_DOES_NOT_EXIST
ForUPLOAD
: When no upload field with the given name exists in the form.UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
ForUPLOAD
: When the upload field exists, but no files are available for the upload.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EResourceItemResolutionError
valueOf(String name)
Returns the enum constant of this type with the specified name.static EResourceItemResolutionError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTACHMENT_QUERY_DOES_NOT_MATCH
public static final EResourceItemResolutionError ATTACHMENT_QUERY_DOES_NOT_MATCH
ForATTACHMENT_SEARCH
: When not a single attachment was found that matches the search criteria.
-
CANNOT_PROCESS_FILE_LIST
public static final EResourceItemResolutionError CANNOT_PROCESS_FILE_LIST
Any other unhandled or unexpected errors that may have occurred while processing the list of referenced files, not specific to a particular resource item.
-
CANNOT_PROCESS_RESOURCE_ITEM
public static final EResourceItemResolutionError CANNOT_PROCESS_RESOURCE_ITEM
Any other unhandled or unexpected errors that may have occurred while processing a specific resource item.
-
CLIENT_FILE_DOES_NOT_EXIST
public static final EResourceItemResolutionError CLIENT_FILE_DOES_NOT_EXIST
ForCLIENT
: When no client file with the given UUID exists.
-
DATABASE_ERROR
public static final EResourceItemResolutionError DATABASE_ERROR
When the database could not be accessed when resolving the resource item.
-
EXTERNAL_URL_CANNOT_BE_READ
public static final EResourceItemResolutionError EXTERNAL_URL_CANNOT_BE_READ
ForEXTERNAL
: When the data cannot be read from the URL, such as when there is no network connection, the domain cannot be resolved, or the server does not send a response in a timely manner.
-
EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
public static final EResourceItemResolutionError EXTERNAL_URL_IS_SYNTACTICALLY_INVALID
ForEXTERNAL
: When the URL is syntactically invalid.
-
FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
public static final EResourceItemResolutionError FILE_COUNT_REDUCED_TO_ZERO_BY_FILTER_OPTIONS
For all resource item types: When at least one file was found, but none of those files matches the additionalfilter options
provided by the node handler executor.
-
FILE_SYSTEM_ERROR
public static final EResourceItemResolutionError FILE_SYSTEM_ERROR
When a file could not be written to the file system or read from the file system while resolving the resource item.
-
FORM_FILE_DOES_NOT_EXIST
public static final EResourceItemResolutionError FORM_FILE_DOES_NOT_EXIST
ForFORM
: When no form file with the given UUID exists.
-
NODE_DOES_NOT_EXIST
public static final EResourceItemResolutionError NODE_DOES_NOT_EXIST
ForFILE_PROVIDE_ACTION
: When the node with the given ID does not exist in the workflow.
-
NODE_DOES_NOT_PROVIDE_FILES
public static final EResourceItemResolutionError NODE_DOES_NOT_PROVIDE_FILES
ForFILE_PROVIDE_ACTION
: When the node was executed, but does not provide any files.
-
NODE_NOT_EXECUTED
public static final EResourceItemResolutionError NODE_NOT_EXECUTED
ForFILE_PROVIDE_ACTION
: When the node with the given ID exists, but was not executed during the current workflow execution.
-
UPLOAD_FIELD_DOES_NOT_EXIST
public static final EResourceItemResolutionError UPLOAD_FIELD_DOES_NOT_EXIST
ForUPLOAD
: When no upload field with the given name exists in the form.
-
UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
public static final EResourceItemResolutionError UPLOAD_FIELD_DOES_NOT_PROVIDE_FILES
ForUPLOAD
: When the upload field exists, but no files are available for the upload.
-
-
Method Detail
-
values
public static EResourceItemResolutionError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EResourceItemResolutionError c : EResourceItemResolutionError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EResourceItemResolutionError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-