api / org.gradle.tooling.events / StatusEvent / getTotal

getTotal

abstract fun getTotal(): Long

The total amount of work that the build operation is in the progress of performing, or -1 if not known.

Return
The total amount of work, or -1 if not known.