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.

default getCommand()

Returns the command associated with the runnable.

abstract boolean run()

Execute the operation.

Public methods

cancel

public abstract void cancel ()

Cancel the operation.

getCommand

public  getCommand ()

Returns the command associated with the runnable.

Returns

run

public abstract boolean run ()

Execute the operation.

Returns
boolean true if operation is performed successfully, false otherwise

Throws
Exception if operation terminated abnormally