|
CInbox (Common-Inbox)
0.1
Common functionality for ingesting files for archiving.
|
Public Member Functions | |
| __construct (&$CIFolder) | |
| init () | |
| run () | |
| finalize () | |
Public Attributes | |
| const | TASK_LABEL = 'Validate target hashcodes' |
Protected Member Functions | |
| checkTarget ($sourceFolder, $targetFolder) | |
Validates hashcodes of the target files by comparing them to the ones in temp-folder. This requires the Task 'HashGenerate' to be run before this one.
Prepare everything so it's ready for processing.
Reimplemented from CITask.
Perform the actual steps of this task.
IMPORTANT: This task must be run *before* TaskRenameTarget, because if validation fails, after renaming, the Item cannot easily be reset, without deleting the target-leftovers... Therefore we use "targetFolderTemp".
Reimplemented from CITask.
1.7.6.1