Class CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder
- java.lang.Object
-
- de.xima.fc.workflow.processor.logic.execution.CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder
-
- Enclosing class:
- CodeOnlyStandardAttachmentListResolutionErrorCreator
public static final class CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder extends Object
Builder to buildCodeOnlyStandardAttachmentListResolutionErrorCreator
.
-
-
Method Summary
-
-
-
Method Detail
-
build
public IStandardAttachmentListResolutionErrorCreator build()
- Returns:
- A new error creator with the current codes.
-
withCodeDatabaseError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withCodeDatabaseError(String codeDatabaseError)
- Parameters:
codeDatabaseError
- Error code for both a hard or soft error of typeDatabaseError
.- Returns:
- This builder for chaining method calls.
-
withCodeFileSystemError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withCodeFileSystemError(String codeFileSystemError)
- Parameters:
codeFileSystemError
- Error code for both a hard or soft error of typeFileSystemError
.- Returns:
- This builder for chaining method calls.
-
withCodeGeneral
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withCodeGeneral(String codeGeneral)
- Parameters:
codeGeneral
- Error code for both a hard or soft error of typeGeneral
.- Returns:
- This builder for chaining method calls.
-
withCodeNetworkError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withCodeNetworkError(String codeNetworkError)
- Parameters:
codeNetworkError
- Error code for both a hard or soft error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withCodeNoSourceAttachmentFound
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withCodeNoSourceAttachmentFound(String codeNoSourceAttachmentFound)
- Parameters:
codeNoSourceAttachmentFound
- Error code for both a hard or soft error of typeNoSourceAttachmentFound
.- Returns:
- This builder for chaining method calls.
-
withHardCodeDatabaseError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withHardCodeDatabaseError(String codeHardDatabaseError)
- Parameters:
codeHardDatabaseError
- Error code for a hard error of typeDatabaseError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeFileSystemError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withHardCodeFileSystemError(String codeHardFileSystemError)
- Parameters:
codeHardFileSystemError
- Error code for hard soft error of typeFileSystemError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeGeneral
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withHardCodeGeneral(String codeHardGeneral)
- Parameters:
codeHardGeneral
- Error code for a hard error of typeGeneral
.- Returns:
- This builder for chaining method calls.
-
withHardCodeNetworkError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withHardCodeNetworkError(String codeHardNetworkError)
- Parameters:
codeHardNetworkError
- Error code for a hard error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeNoSourceAttachmentFound
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withHardCodeNoSourceAttachmentFound(String codeHardNoSourceAttachmentFound)
- Parameters:
codeHardNoSourceAttachmentFound
- Error code for a hard error of typeNoSourceAttachmentFound
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeDatabaseError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withSoftCodeDatabaseError(String codeSoftDatabaseError)
- Parameters:
codeSoftDatabaseError
- Error code for a soft error of typeDatabaseError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeFileSystemError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withSoftCodeFileSystemError(String codeSoftFileSystemError)
- Parameters:
codeSoftFileSystemError
- Error code for a soft error of typeFileSystemError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeGeneral
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withSoftCodeGeneral(String codeSoftGeneral)
- Parameters:
codeSoftGeneral
- Error code for a soft error of typeGeneral
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeNetworkError
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withSoftCodeNetworkError(String codeSoftNetworkError)
- Parameters:
codeSoftNetworkError
- Error code for a soft error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeNoSourceAttachmentFound
public CodeOnlyStandardAttachmentListResolutionErrorCreator.Builder withSoftCodeNoSourceAttachmentFound(String codeSoftNoSourceAttachmentFound)
- Parameters:
codeSoftNoSourceAttachmentFound
- Error code for a soft error of typeNoSourceAttachmentFound
.- Returns:
- This builder for chaining method calls.
-
-