IRunUtil.IRunnableResult

public static interface IRunUtil.IRunnableResult

com.android.tradefed.util.IRunUtil.IRunnableResult


An interface for asynchronously executing an operation that returns a boolean status.

Summary

Public methods

abstract void cancel()

Cancel the operation.

abstract boolean run()

Execute the operation.

Public methods

cancel

public abstract void cancel ()

Cancel the operation.

run

public abstract boolean run ()

Execute the operation.

Returns
boolean true if operation is performed successfully, false otherwise

Throws
Exception if operation terminated abnormally