14 private $failure_count = 0;
16 private $success_count = 0;
18 private $is_complete =
false;
29 $this->errors = $this->errors +
$message;
54 $this->failure_count += $num;
63 return $this->failure_count;
74 $this->success_count += $num;
83 return $this->success_count;
92 $this->is_complete =
true;
101 return $this->is_complete ===
true;
addFailures(int $num=1)
Increment failure count.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
markComplete()
Mark the upgrade as complete (not necessarily successful)
getErrors()
Get error messages.
addSuccesses(int $num=1)
Set an item (or items) as successfully upgraded.
toArray()
Export to reports array.
wasMarkedComplete()
Has the upgrade been marked complete?
getFailureCount()
Get count of failures within the current batch.
getSuccessCount()
Get count of successfully upgraded items within the current batch.
addError($message)
Add new error message to the batch.
Result of a single BatchUpgrade run.