saker.build Documentation TaskDoc JavaDoc Packages
public interface TaskProgressMonitor
Interface for monitoring and reporting progress of tasks during execution.

The methods in this interface, and any objects that are returned by these methods never throw an exception. This is in order not to distrupt the build execution.

This interface is planned to be extended in the future for reified information reporting.

Methods
public boolean
Gets if the cancellation of the execution was requested for the task.
public abstract boolean isCancelled()
Gets if the cancellation of the execution was requested for the task.
true if the task execution should be cancelled.