Class CodeOnlyStandardFileListResolutionErrorCreator.Builder
- java.lang.Object
-
- de.xima.fc.workflow.processor.logic.execution.CodeOnlyStandardFileListResolutionErrorCreator.Builder
-
- Enclosing class:
- CodeOnlyStandardFileListResolutionErrorCreator
public static final class CodeOnlyStandardFileListResolutionErrorCreator.Builder extends Object
Builder to buildCodeOnlyStandardFileListResolutionErrorCreator
.
-
-
Method Summary
-
-
-
Method Detail
-
build
public IStandardFileListResolutionErrorCreator build()
- Returns:
- A new error creator with the current codes.
-
withCodeDatabaseError
public CodeOnlyStandardFileListResolutionErrorCreator.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 CodeOnlyStandardFileListResolutionErrorCreator.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 CodeOnlyStandardFileListResolutionErrorCreator.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 CodeOnlyStandardFileListResolutionErrorCreator.Builder withCodeNetworkError(String codeNetworkError)
- Parameters:
codeNetworkError
- Error code for both a hard or soft error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withCodeNoSourceFileFound
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withCodeNoSourceFileFound(String codeNoSourceFileFound)
- Parameters:
codeNoSourceFileFound
- Error code for both a hard or soft error of typeNoSourceFileFound
.- Returns:
- This builder for chaining method calls.
-
withHardCodeDatabaseError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withHardCodeDatabaseError(String codeHardDatabaseError)
- Parameters:
codeHardDatabaseError
- Error code for a hard error of typeDatabaseError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeFileSystemError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withHardCodeFileSystemError(String codeHardFileSystemError)
- Parameters:
codeHardFileSystemError
- Error code for hard soft error of typeFileSystemError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeGeneral
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withHardCodeGeneral(String codeHardGeneral)
- Parameters:
codeHardGeneral
- Error code for a hard error of typeGeneral
.- Returns:
- This builder for chaining method calls.
-
withHardCodeNetworkError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withHardCodeNetworkError(String codeHardNetworkError)
- Parameters:
codeHardNetworkError
- Error code for a hard error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withHardCodeNoSourceFileFound
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withHardCodeNoSourceFileFound(String codeHardNoSourceFileFound)
- Parameters:
codeHardNoSourceFileFound
- Error code for a hard error of typeNoSourceFileFound
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeDatabaseError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withSoftCodeDatabaseError(String codeSoftDatabaseError)
- Parameters:
codeSoftDatabaseError
- Error code for a soft error of typeDatabaseError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeFileSystemError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withSoftCodeFileSystemError(String codeSoftFileSystemError)
- Parameters:
codeSoftFileSystemError
- Error code for a soft error of typeFileSystemError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeGeneral
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withSoftCodeGeneral(String codeSoftGeneral)
- Parameters:
codeSoftGeneral
- Error code for a soft error of typeGeneral
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeNetworkError
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withSoftCodeNetworkError(String codeSoftNetworkError)
- Parameters:
codeSoftNetworkError
- Error code for a soft error of typeNetworkError
.- Returns:
- This builder for chaining method calls.
-
withSoftCodeNoSourceFileFound
public CodeOnlyStandardFileListResolutionErrorCreator.Builder withSoftCodeNoSourceFileFound(String codeSoftNoSourceFileFound)
- Parameters:
codeSoftNoSourceFileFound
- Error code for a soft error of typeNoSourceFileFound
.- Returns:
- This builder for chaining method calls.
-
-