|
CInbox (Common-Inbox)
0.1
Common functionality for ingesting files for archiving.
|
Functions | |
| CITask\statusUndefined () | |
| CITask\statusRunning () | |
| CITask\statusDone () | |
| CITask\statusPBCT () | |
| CITask\statusPBC () | |
| CITask\statusSkipped () | |
| CITask\statusError () | |
| CITask\statusConfigError () | |
| CITask\setStatus ($status) | |
| CITask\setStatusUndefined () | |
| CITask\setStatusRunning () | |
| CITask\setStatusDone () | |
| CITask\setStatusPBCT () | |
| CITask\setStatusPBC () | |
| CITask\setStatusSkipped () | |
| CITask\setStatusError () | |
| CITask\setStatusConfigError () | |
Variables | |
| const | CITask\STATUS_UNDEFINED = 0 |
| Undefined. Default unless task changes it. | |
| const | CITask\STATUS_RUNNING = 1 |
| Undefined, but indicates that the task is in progress. | |
| const | CITask\STATUS_DONE = 5 |
| Success! This means the task completed successfully. | |
| const | CITask\STATUS_PBCT = 6 |
| There were problems, but the task may continue. | |
| const | CITask\STATUS_PBC = 7 |
| There were problems, but subsequent task may continue. | |
| const | CITask\STATUS_ERROR = 10 |
| An error occurred. Abort execution as soon as possible. | |
| const | CITask\STATUS_CONFIG_ERROR = 11 |
| If a config option was not valid. | |
| const | CITask\STATUS_SKIPPED = 15 |
| If task was skipped. | |
| CITask::setStatus | ( | $ | status | ) | [protected] |
Updates the task's current status to $status. See CITask const definitions about valid task states.
Returns 'true' if status is good and task shall continue, and 'false' if a negative state was set, and task execution shall abort.
| boolean | 'false' if task was set to a negative/faulty/unsuccessful status, such as STATUS_ERROR or STATUS_CONFIG_ERROR. 'true' for all other states. |
| CITask::setStatusConfigError | ( | ) | [protected] |
Set task status to STATUS_CONFIG_ERROR
| CITask::setStatusDone | ( | ) | [protected] |
Set task status to STATUS_DONE
| CITask::setStatusError | ( | ) | [protected] |
Set task status to STATUS_ERROR
| CITask::setStatusPBC | ( | ) | [protected] |
Set task status to STATUS_PBC
| CITask::setStatusPBCT | ( | ) | [protected] |
Set task status to STATUS_PBCT
| CITask::setStatusRunning | ( | ) | [protected] |
Set task status to STATUS_RUNNING
| CITask::setStatusSkipped | ( | ) | [protected] |
Set task status to STATUS_SKIPPED
| CITask::setStatusUndefined | ( | ) | [protected] |
Set task status to STATUS_UNDEFINED
Queries the task's status.
| boolean | 'true' if task status is STATUS_CONFIG_ERROR, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_DONE, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_ERROR, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_PBC, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_PBCT, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_RUNNING, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_SKIPPED, 'false' if not. |
Queries the task's status.
| boolean | 'true' if task status is STATUS_UNDEFINED, 'false' if not. |
1.7.6.1