to top
public static interface

IRunUtil.IRunnableResult

com.android.tradefed.util.IRunUtil.IRunnableResult
Known Indirect Subclasses

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
{"cc_re__cc_re__cc_by_2_5": ["  <div class=\"jd-tagdata\">\n      <h5 class=\"jd-tagtitle\">Throws</h5>\n      <table class=\"jd-tagtable\">  \n        <tr>\n            <th>Exception</td>\n            <td>if operation terminated abnormally\n</td>\n        </tr>\n      </table>\n  </div>\n\n    </div>\n</div>\n\n\n\n\n\n<!-- ========= METHOD DETAIL ======== -->\n\n\n\n<!-- ========= END OF CLASS DATA ========= -->\n<A NAME=\"navbar_top\"></A>\n\n<div id=\"footer\" class=\"wrap\" >\n  <div id=\"copyright\">\n    \n  Except as noted, this content is \n  licensed under <a href=\"http://creativecommons.org/licenses/by/2.5/\">\n  Creative Commons Attribution 2.5</a>. For details and \n  restrictions, see the <a href=\"/license.html\">Content \n  License</a>.\n  </div>\n    <div id=\"footerlinks\">\n    \n  <p>\n    <a href=\"/source/index.html\">About Android</a>&nbsp;&nbsp;|&nbsp;\n    <a href=\"/source/community/index.html\">Community</a>&nbsp;&nbsp;|&nbsp;\n    <a href=\"/legal.html\">Legal</a>&nbsp;&nbsp;|&nbsp;\n  </p>\n  </div>\n\n</div> <!-- jd-content -->\n\n</div><!-- end doc-content -->\n\n</div> <!-- end body-content --> \n\n\n\n\n\n\n</bod"], "copyright__copyright__copyright": ["lt\nKnown Indirect Subclasses\n\nClass Overview\n\nAn interface for asynchronously executing an operation that returns a boolean status.\n\nSummary\n\nPublic Methods\nabstract void cancel()\nCancel the operation.\nabstract boolean run()\nExecute the operation.\n\nPublic Methods\n\npublic abstract void cancel ()\n\nCancel the operation.\n\npublic abstract boolean run ()\n\nExecute the operation.\n\nReturns\n  \u2022 true if operation is performed successfully, false otherwise\nThrows\nException if operation terminated abnormally", "lt\nKnown Indirect Subclasses\n\nClass Overview\n\nAn interface for asynchronously executing an operation that returns a boolean status.\n\nSummary\n\nPublic Methods\nabstract void cancel()\nCancel the operation.\nabstract boolean run()\nExecute the operation.\n\nPublic Methods\n\npublic abstract void cancel ()\n\nCancel the operation.\n\npublic abstract boolean run ()\n\nExecute the operation.\n\nReturns\n  \u2022 true if operation is performed successfully, false otherwise\nThrows\nException if operation terminated abnormally"]}