<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!-- NewPage -->
|
<html lang="zh">
|
<head>
|
<!-- Generated by javadoc (1.8.0_65) on Mon May 18 20:37:47 CST 2020 -->
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<title>TaskState (tx-client 4.1.0 API)</title>
|
<meta name="date" content="2020-05-18">
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
</head>
|
<body>
|
<script type="text/javascript"><!--
|
try {
|
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="TaskState (tx-client 4.1.0 API)";
|
}
|
}
|
catch(err) {
|
}
|
//-->
|
var methods = {"i0":10,"i1":9,"i2":9};
|
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
var altColor = "altColor";
|
var rowColor = "rowColor";
|
var tableTab = "tableTab";
|
var activeTableTab = "activeTableTab";
|
</script>
|
<noscript>
|
<div>您的浏览器已禁用 JavaScript。</div>
|
</noscript>
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<div class="topNav"><a name="navbar.top">
|
<!-- -->
|
</a>
|
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
<a name="navbar.top.firstrow">
|
<!-- -->
|
</a>
|
<ul class="navList" title="导航">
|
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
<li><a href="package-summary.html">程序包</a></li>
|
<li class="navBarCell1Rev">类</li>
|
<li><a href="class-use/TaskState.html">使用</a></li>
|
<li><a href="package-tree.html">树</a></li>
|
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
<li><a href="../../../../../index-all.html">索引</a></li>
|
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
</ul>
|
</div>
|
<div class="subNav">
|
<ul class="navList">
|
<li><a href="../../../../../com/codingapi/tx/framework/task/TaskGroupManager.html" title="com.codingapi.tx.framework.task中的类"><span class="typeNameLink">上一个类</span></a></li>
|
<li><a href="../../../../../com/codingapi/tx/framework/task/TxTask.html" title="com.codingapi.tx.framework.task中的类"><span class="typeNameLink">下一个类</span></a></li>
|
</ul>
|
<ul class="navList">
|
<li><a href="../../../../../index.html?com/codingapi/tx/framework/task/TaskState.html" target="_top">框架</a></li>
|
<li><a href="TaskState.html" target="_top">无框架</a></li>
|
</ul>
|
<ul class="navList" id="allclasses_navbar_top">
|
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
</ul>
|
<div>
|
<script type="text/javascript"><!--
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
if(window==top) {
|
allClassesLink.style.display = "block";
|
}
|
else {
|
allClassesLink.style.display = "none";
|
}
|
//-->
|
</script>
|
</div>
|
<div>
|
<ul class="subNavList">
|
<li>概要: </li>
|
<li>嵌套 | </li>
|
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
<li>字段 | </li>
|
<li><a href="#method.summary">方法</a></li>
|
</ul>
|
<ul class="subNavList">
|
<li>详细资料: </li>
|
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
<li>字段 | </li>
|
<li><a href="#method.detail">方法</a></li>
|
</ul>
|
</div>
|
<a name="skip.navbar.top">
|
<!-- -->
|
</a></div>
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
<!-- ======== START OF CLASS DATA ======== -->
|
<div class="header">
|
<div class="subTitle">com.codingapi.tx.framework.task</div>
|
<h2 title="枚举 TaskState" class="title">枚举 TaskState</h2>
|
</div>
|
<div class="contentContainer">
|
<ul class="inheritance">
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
|
<li>
|
<ul class="inheritance">
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">java.lang.Enum</a><<a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a>></li>
|
<li>
|
<ul class="inheritance">
|
<li>com.codingapi.tx.framework.task.TaskState</li>
|
</ul>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
<div class="description">
|
<ul class="blockList">
|
<li class="blockList">
|
<dl>
|
<dt>所有已实现的接口:</dt>
|
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="java.io中的类或接口">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="java.lang中的类或接口">Comparable</a><<a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a>></dd>
|
</dl>
|
<hr>
|
<br>
|
<pre>public enum <span class="typeNameLabel">TaskState</span>
|
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a><<a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a>></pre>
|
<div class="block">create by lorne on 2017/12/21</div>
|
</li>
|
</ul>
|
</div>
|
<div class="summary">
|
<ul class="blockList">
|
<li class="blockList">
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
<ul class="blockList">
|
<li class="blockList"><a name="enum.constant.summary">
|
<!-- -->
|
</a>
|
<h3>枚举常量概要</h3>
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="枚举常量概要表, 列表枚举常量和解释">
|
<caption><span>枚举常量</span><span class="tabEnd"> </span></caption>
|
<tr>
|
<th class="colOne" scope="col">枚举常量和说明</th>
|
</tr>
|
<tr class="altColor">
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#commit">commit</a></span></code> </td>
|
</tr>
|
<tr class="rowColor">
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#connectionError">connectionError</a></span></code> </td>
|
</tr>
|
<tr class="altColor">
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#networkError">networkError</a></span></code> </td>
|
</tr>
|
<tr class="rowColor">
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#networkTimeOut">networkTimeOut</a></span></code> </td>
|
</tr>
|
<tr class="altColor">
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#rollback">rollback</a></span></code> </td>
|
</tr>
|
</table>
|
</li>
|
</ul>
|
<!-- ========== METHOD SUMMARY =========== -->
|
<ul class="blockList">
|
<li class="blockList"><a name="method.summary">
|
<!-- -->
|
</a>
|
<h3>方法概要</h3>
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
<tr>
|
<th class="colFirst" scope="col">限定符和类型</th>
|
<th class="colLast" scope="col">方法和说明</th>
|
</tr>
|
<tr id="i0" class="altColor">
|
<td class="colFirst"><code>int</code></td>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#getCode--">getCode</a></span>()</code> </td>
|
</tr>
|
<tr id="i1" class="rowColor">
|
<td class="colFirst"><code>static <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a></code></td>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> name)</code>
|
<div class="block">返回带有指定名称的该类型的枚举常量。</div>
|
</td>
|
</tr>
|
<tr id="i2" class="altColor">
|
<td class="colFirst"><code>static <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a>[]</code></td>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/framework/task/TaskState.html#values--">values</a></span>()</code>
|
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
包含这些常量的数组。</div>
|
</td>
|
</tr>
|
</table>
|
<ul class="blockList">
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
<!-- -->
|
</a>
|
<h3>从类继承的方法 java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="java.lang中的类或接口">Enum</a></h3>
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="java.lang中的类或接口">compareTo</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="java.lang中的类或接口">getDeclaringClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#name--" title="java.lang中的类或接口">name</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="java.lang中的类或接口">ordinal</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="java.lang中的类或接口">valueOf</a></code></li>
|
</ul>
|
<ul class="blockList">
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
<!-- -->
|
</a>
|
<h3>从类继承的方法 java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
|
</ul>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
</div>
|
<div class="details">
|
<ul class="blockList">
|
<li class="blockList">
|
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
<ul class="blockList">
|
<li class="blockList"><a name="enum.constant.detail">
|
<!-- -->
|
</a>
|
<h3>枚举常量详细资料</h3>
|
<a name="rollback">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>rollback</h4>
|
<pre>public static final <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> rollback</pre>
|
</li>
|
</ul>
|
<a name="commit">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>commit</h4>
|
<pre>public static final <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> commit</pre>
|
</li>
|
</ul>
|
<a name="networkError">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>networkError</h4>
|
<pre>public static final <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> networkError</pre>
|
</li>
|
</ul>
|
<a name="networkTimeOut">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>networkTimeOut</h4>
|
<pre>public static final <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> networkTimeOut</pre>
|
</li>
|
</ul>
|
<a name="connectionError">
|
<!-- -->
|
</a>
|
<ul class="blockListLast">
|
<li class="blockList">
|
<h4>connectionError</h4>
|
<pre>public static final <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> connectionError</pre>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
<!-- ============ METHOD DETAIL ========== -->
|
<ul class="blockList">
|
<li class="blockList"><a name="method.detail">
|
<!-- -->
|
</a>
|
<h3>方法详细资料</h3>
|
<a name="values--">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>values</h4>
|
<pre>public static <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a>[] values()</pre>
|
<div class="block">按照声明该枚举类型的常量的顺序, 返回
|
包含这些常量的数组。该方法可用于迭代
|
常量, 如下所示:
|
<pre>
|
for (TaskState c : TaskState.values())
|
System.out.println(c);
|
</pre></div>
|
<dl>
|
<dt><span class="returnLabel">返回:</span></dt>
|
<dd>按照声明该枚举类型的常量的顺序返回的包含这些常量的数组</dd>
|
</dl>
|
</li>
|
</ul>
|
<a name="valueOf-java.lang.String-">
|
<!-- -->
|
</a>
|
<ul class="blockList">
|
<li class="blockList">
|
<h4>valueOf</h4>
|
<pre>public static <a href="../../../../../com/codingapi/tx/framework/task/TaskState.html" title="com.codingapi.tx.framework.task中的枚举">TaskState</a> valueOf(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> name)</pre>
|
<div class="block">返回带有指定名称的该类型的枚举常量。
|
字符串必须与用于声明该类型的枚举常量的
|
标识符<i>完全</i>匹配。(不允许有多余
|
的空格字符。)</div>
|
<dl>
|
<dt><span class="paramLabel">参数:</span></dt>
|
<dd><code>name</code> - 要返回的枚举常量的名称。</dd>
|
<dt><span class="returnLabel">返回:</span></dt>
|
<dd>返回带有指定名称的枚举常量</dd>
|
<dt><span class="throwsLabel">抛出:</span></dt>
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="java.lang中的类或接口">IllegalArgumentException</a></code> - 如果该枚举类型没有带有指定名称的常量</dd>
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="java.lang中的类或接口">NullPointerException</a></code> - 如果参数为空值</dd>
|
</dl>
|
</li>
|
</ul>
|
<a name="getCode--">
|
<!-- -->
|
</a>
|
<ul class="blockListLast">
|
<li class="blockList">
|
<h4>getCode</h4>
|
<pre>public int getCode()</pre>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
</div>
|
</div>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<div class="bottomNav"><a name="navbar.bottom">
|
<!-- -->
|
</a>
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
<a name="navbar.bottom.firstrow">
|
<!-- -->
|
</a>
|
<ul class="navList" title="导航">
|
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
<li><a href="package-summary.html">程序包</a></li>
|
<li class="navBarCell1Rev">类</li>
|
<li><a href="class-use/TaskState.html">使用</a></li>
|
<li><a href="package-tree.html">树</a></li>
|
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
<li><a href="../../../../../index-all.html">索引</a></li>
|
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
</ul>
|
</div>
|
<div class="subNav">
|
<ul class="navList">
|
<li><a href="../../../../../com/codingapi/tx/framework/task/TaskGroupManager.html" title="com.codingapi.tx.framework.task中的类"><span class="typeNameLink">上一个类</span></a></li>
|
<li><a href="../../../../../com/codingapi/tx/framework/task/TxTask.html" title="com.codingapi.tx.framework.task中的类"><span class="typeNameLink">下一个类</span></a></li>
|
</ul>
|
<ul class="navList">
|
<li><a href="../../../../../index.html?com/codingapi/tx/framework/task/TaskState.html" target="_top">框架</a></li>
|
<li><a href="TaskState.html" target="_top">无框架</a></li>
|
</ul>
|
<ul class="navList" id="allclasses_navbar_bottom">
|
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
</ul>
|
<div>
|
<script type="text/javascript"><!--
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
if(window==top) {
|
allClassesLink.style.display = "block";
|
}
|
else {
|
allClassesLink.style.display = "none";
|
}
|
//-->
|
</script>
|
</div>
|
<div>
|
<ul class="subNavList">
|
<li>概要: </li>
|
<li>嵌套 | </li>
|
<li><a href="#enum.constant.summary">枚举常量</a> | </li>
|
<li>字段 | </li>
|
<li><a href="#method.summary">方法</a></li>
|
</ul>
|
<ul class="subNavList">
|
<li>详细资料: </li>
|
<li><a href="#enum.constant.detail">枚举常量</a> | </li>
|
<li>字段 | </li>
|
<li><a href="#method.detail">方法</a></li>
|
</ul>
|
</div>
|
<a name="skip.navbar.bottom">
|
<!-- -->
|
</a></div>
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
<p class="legalCopy"><small>Copyright © 2020. All rights reserved.</small></p>
|
</body>
|
</html>
|