^1640682304383
@
sname
Result
slabel
结果
sdescriptors
xworker.lang.MetaDescriptor3
sextends
,xworker.lang.actions.Actions
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>结果相当于父级动作执行后的条件（if），当符合条件表达式（Ognl）的结果会被执行，不符合条件的不被执行。</p>
<p>父动作的结果放在_return变量中。</p>
<p><b>参看：</b></p>
<p>&nbsp;&nbsp;&nbsp; <a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.World">世界</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.Thing">事物</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Break">Break</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Continue">Continue</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Do">Do</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.For">For</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.groovy.GroovyAction">GroovyAction</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.If">If</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Iterate">Iterate</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.JavaAction">JavaAction</a>、<a href="do?sc=xworkerd.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.JdkScript">JdkScript</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Result">Result</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Return">Return</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Switch">Switch</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Throw">Throw</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Try">Try</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.While">While</a>、<a href="do?sc=xworker.ide.worldexplorer.swt.http.ThingDoc/@desc&amp;thing=xworker.lang.actions.Context">上下文</a>。</p>
<p>&nbsp;</p>
#$@text#$@
sen_label
Result
sen_description
<p>Result.</p>
sid
Result
  @/@name
  sname
  name
  slabel
  名称
  Sdescription
#$@text#$@
结果的名称。<br />
<br />
和上级脚本的执行状态对应，如果成功则执行下面的结果。
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Name
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sen_description
  <p>The result name.</p>
  sid
  name
  @/@label
  sname
  label
  slabel
  标签
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Label
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  label
  @/@type
  sname
  type
  slabel
  类型
  sinputtype
  select
  sdefault
  DEFAULT
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>结果的类型。<br />
<br />
一个结果可以有一个或多个下级脚本，结果的类型是指如何执行结果所对应的下级脚本。<br />
<br />
DEFAULT：顺序执行所有下级脚本。<br />
SUCCESS：顺序执行下级脚本，直到有一个下级脚本执行成功。<br />
RANDOM：随机打乱脚本顺序执行下级脚本。<br />
RANDOM_ONE：随机执行一个下级脚本。<br />
RANDOM_RANDOM：随机执行随机数目的下级脚本。<br />
RANDOM_SUCCESS：随机执行一个下级脚本，直到下级脚本执行成功。<br />
RANDOM_RATE：子动作按照概率大小来随机执行，只执行一个子动作。<br />
<br />
&nbsp;</p>
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Type
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sen_description
  <p>Result type.</p>
  sid
  type
    @/@type/@default
    sname
    default
    slabel
    DEFAULT
    svalue
    DEFAULT
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    default
    @/@type/@SUCCESS
    sname
    SUCCESS
    slabel
    SUCCESS
    svalue
    SUCCESS
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    SUCCESS
    @/@type/@RANDOM
    sname
    RANDOM
    slabel
    RANDOM
    svalue
    RANDOM
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    RANDOM
    @/@type/@RANDOM_ONE
    sname
    RANDOM_ONE
    slabel
    RANDOM_ONE
    svalue
    RANDOM_ONE
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    RANDOM_ONE
    @/@type/@RANDOM_RANDOM
    sname
    RANDOM_RANDOM
    slabel
    RANDOM_RANDOM
    svalue
    RANDOM_RANDOM
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    RANDOM_RANDOM
    @/@type/@RANDOM_SUCCESS
    sname
    RANDOM_SUCCESS
    slabel
    RANDOM_SUCCESS
    svalue
    RANDOM_SUCCESS
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    RANDOM_SUCCESS
    @/@type/@RANDOM_RATE
    sname
    RANDOM_RATE
    slabel
    RANDOM_RATE
    svalue
    RANDOM_RATE
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    RANDOM_RATE
  @/@condition
  sname
  condition
  slabel
  条件
  sinputtype
  textarea
  scolspan
  2
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Ognl表达式，用于判断是否满足条件。</p>
<p>条件的变量在actionContext中，父动作的返回结果放在_return变量中。</p>
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  condition
  @/@description
  sname
  description
  slabel
  描述
  sinputtype
  html
  scolspan
  2
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Description
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  description
  @/@Rate
  sname
  Rate
  slabel
  概率
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.actions.Begin
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>当结果的类型是RANDOM_RATE时，可以指定子脚本的执行概率。</p>
<p>本事物集成Begin。</p>
#$@text#$@
  sth_createIndex
  false
  sid
  Rate
    @/@Rate/@name
    sname
    name
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    name
    @/@Rate/@labe
    sname
    label
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    labe
    @/@Rate/@rate
    sname
    rate
    slabel
    概率值
    sdefault
    1
    sinheritDescription
    false
    sdescription
    <p>必须大于等于1，整数。</p>
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    rate
