to top
public static interface

IRunUtil.IRunnableResult

com.android.tradefed.util.IRunUtil.IRunnableResult

Class Overview

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

public abstract void cancel ()

Cancel the operation.

public abstract boolean run ()

Execute the operation.

Returns
  • true if operation is performed successfully, false otherwise
Throws
Exception if operation terminated abnormally