PercentDoneMixin
Mixin
PercentDone mixin to get the current status of a task.
No results
Fields
Fields belong to a Model class and define the Model data structure-
The current status of a task, expressed as the percentage completed (integer from 0 to 100)
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of PercentDoneMixin class, or subclass thereof.
-
Identifies an object as an instance of PercentDoneMixin class, or subclass thereof.
-
Indicates if the task is complete (its percent completion is 100% (or greater)).
-
Indicates if the task is in progress (its percent completion is greater than zero and less than 100%).
-
Indicates if the task is started (its percent completion is greater than zero).
-
Human-friendly rounding. When task is completed < 99%, it rounds the value. It floors value between 99 and 100, to not show task as completed when it is for example 99.51% done.