JobProgress class
Live state of one BuildJob.
Constructors
- JobProgress(BuildJob job, Duration estimate)
Properties
- detail ↔ String?
-
getter/setter pair
- estimate → Duration
-
final
- finishedAt ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinished → bool
-
no setter
- job → BuildJob
-
final
- logPath ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt ↔ DateTime?
-
getter/setter pair
- state ↔ JobState
-
getter/setter pair
- step ↔ String?
-
getter/setter pair
- targetsDone ↔ int
-
getter/setter pair
Methods
-
elapsed(
DateTime now) → Duration -
fraction(
DateTime now) → double - 0..1. Time-based against the estimate while running (builds give no finer signal), never below the share of targets already built, and slowing down instead of hitting 100% when a build overruns.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remaining(
DateTime now) → Duration - Best guess at the time left for this job: the unfinished share of its estimate, so finishing a target (e.g. the AAB of AAB+APK) shortens it.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited