getState

abstract fun getState(): ITask.State

Returns the current State of the Task.

When constructed, a new Task must begin in the NotStarted state.

Return

the current state of this Task.