^1695114554713
@
sname
SelfAction
slabel
SelfAction
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.lang.actions.Action
smany
true
seditCols
2
sinitialization
false
sgroup
actions
smodifier
public
sinheritDescription
false
sdescription
<p>SelfAction是由事物定义的动作，执行时self变量为自己，通过thing.doAction(&quot;run&quot;, actionContext)的方式执行的动作。</p>
snotXmlAttribute
false
sth_createIndex
true
sth_registThing
child|xworker.lang.util.ThingIndex
sth_registMyChilds
false
sen_description
<p>SelfAction is an action defined by things. When executed, the self variable is itself, and the action is executed by way of thing.doAction(&quot;run&quot;, actionContext). </p>
sth_mark
false
  @/@type
  sname
  interpretationType
  slabel
  解释方式
  sinputtype
  text
  sgroup
  Action
  sreadOnly
  false
  sdefault
  Self
  sinheritDescription
  false
  sdescription
  <p>不要修改默认值。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  InterpretationType
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sen_description
  <p>Do not modify the default value. </p>
  sth_mark
  false
  sid
  type
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sid
  actions
    @/@actions/@getVarScope
    sname
    getVarScope
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.actions.SelfActionCreator
    smethodName
    getVarScope
    sdisableGlobalContext
    false
    Sdescription
#$@text#$@
<p><span style="color: #ff0000">这个方法已作废</span>，没办法获取真正的变量范围，请使用org.xmeta.util.UtilAction.getVarScope(Thing, ActionCotnext);方法获取变量范围。</p>
<p>返回本动作指定的变量输出范围。</p>
#$@text#$@
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    sdescriptors
    xworker.lang.actions.JavaAction
    sth_createIndex
    false
    Sen_description
#$@text#$@
<p><span style="color: #ff0000">This method is obsolete</span>, there is no way to get the real variable scope, please use org.xmeta.util.UtilAction.getVarScope(Thing, ActionCotnext); method to get Variable scope. </p>
<p>Return to the variable output range specified by this action. </p>
#$@text#$@
    sid
    getVarScope
    @/@actions/@setVar
    sname
    setVar
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.actions.SelfActionCreator
    smethodName
    setVar
    sdisableGlobalContext
    false
    sdescription
    <p>设置变量值，放入的变量范围根据varScope获取。</p>
    sdescriptors
    xworker.lang.actions.JavaAction
    sth_createIndex
    false
    sen_description
    <p>Set the value of the variable, and the range of the variable put in is obtained according to varScope. </p>
    sid
    setVar
      @/@actions/@setVar/@ins
      sisValidate
      false
      sname
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sth_createIndex
      false
      sid
      ins
        @/@actions/@setVar/@ins/@varName
        sname
        varName
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sth_createIndex
        false
        sid
        varName
        @/@actions/@setVar/@ins/@value
        sname
        value
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sth_createIndex
        false
        sid
        value
    @/@actions/@processAttributeTemplate
    sname
    processAttributeTemplate
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.actions.ActionActions
    smethodName
    processAttributeTemplate
    sdisableGlobalContext
    false
    sdescription
    <p>先从self detach一个事物，然后处理节点和子节点的属性模板。</p>
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sen_description
    <p>First detach a thing from self, and then process the attribute templates of the node and child nodes. </p>
    sid
    processAttributeTemplate
  @/@attributeTemplate
  sname
  attributeTemplate
  slabel
  属性模板
  sinputtype
  truefalse
  sgroup
  Template
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>如果为true，那么可以在属性中使用freemarker模板，在动作执行前会把有模板的属性生成具体属性。</p>
<p>比如&lt;name=&quot;distPath&quot;&nbsp; path=&quot;${projectName}/dist&quot;/&gt;，如果变量上下文中projectName是xmeta，那么执行时会变成&lt;name=&quot;distPath&quot; path=&quot;xmeta/dist/&quot;/&gt;。</p>
<p><span style="color: #ff0000">注意事项：</span></p>
<p>&nbsp;&nbsp;&nbsp; 使用模板属性后，会把动作事物detach出一个新的事物，但是新的事物的路径和元事物是一样的，即是克隆出了一个属性不一样的新事物，如果保存这个事物，那么会覆盖原有事物。</p>
<p>&nbsp;&nbsp;&nbsp; 只针对解释方式（interpretationType）为Self的动作。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sen_label
  AttributeTemplate
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  Sen_description
#$@text#$@
<p>If true, you can use the freemarker template in the attributes, and the attributes with the template will be generated into specific attributes before the action is executed. </p>
<p>For example, &lt;name=&quot;distPath&quot;&nbsp; path=&quot;${projectName}/dist&quot;/&gt;, if projectName in the variable context is xmeta, it will become &lt;name=&quot;distPath&quot ; path=&quot;xmeta/dist/&quot;/&gt;. </p>
<p><span style="color: #ff0000">Notes:</span></p>
<p>&nbsp;&nbsp;&nbsp; After using the template attribute, the action thing will be detached into a new thing, but the path of the new thing and the meta thing are the same, that is, a new thing with different attributes is cloned , If you save this thing, it will overwrite the original thing. </p>
<p>&nbsp;&nbsp;&nbsp; Only for actions whose interpretationType is Self. </p>
#$@text#$@
  sth_mark
  false
  sid
  attributeTemplate
  @/@childsAttributeTemplate
  sname
  childsAttributeTemplate
  slabel
  子节点属性模板
  sinputtype
  truefalse
  sgroup
  Template
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>是否子节点的属性也当做模板处理，默认false。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sen_label
  ChildsAttributeTemplate
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sen_description
  <p>Whether the attributes of child nodes are also treated as templates, the default is false. </p>
  sth_mark
  false
  sid
  childsAttributeTemplate
  @/@varScope
  sname
  varScope
  slabel
  保存变量范围
  sextends
  xworker.lang.actions.Action/@varScope
  sinputtype
  inputSelect
  ssize
  60
  scolspan
  2
  sgroup
  Return
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  Local
  sinheritDescription
  true
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sen_label
  Save variable range
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_deprecated
  false
  sen_description
  <p>Variable scope.</p>
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sjson_isArray
  false
  sid
  varScope
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p><strong>动作集合</strong></p>

<p>&nbsp;&nbsp;&nbsp; 通过动作可以定义事物的行为，事物的行为即动作，可以用多种语言和方式编写。</p>

<p><strong>self变量</strong></p>

<p>&nbsp;&nbsp;&nbsp; 当一个动作作为一个事物的行为执行时，会把该事物以self变量传给动作。</p>

<p><strong>第一个动作集合生效</strong></p>

<p>&nbsp;&nbsp;&nbsp; 只有事物的第一个actions子节点才被认为是行为的定义集合，第二个及以后不算。</p>
#$@text#$@
  szh_label
  动作
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  Sen_description
#$@text#$@
<p><strong>Actions</strong></p>

<p>&nbsp;&nbsp;&nbsp; Use actions can define behaviors of the&nbsp;thing. Behavior is action, can be defined by many program languages or other things.</p>

<p><strong>Variable self</strong></p>

<p>&nbsp;&nbsp;&nbsp; When a action is executed as a behavior, in the actionContext will have a virable named &#39;self&#39;, self like this in java, self is it&#39;s onwer thing.</p>

<p><strong>First actions is validate</strong></p>

<p>&nbsp;&nbsp;&nbsp; Only first actions node is behaviros collections.</p>
#$@text#$@
  sth_mark
  false
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
    @/@actions1/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor2/@actions
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    actions
      @/@actions1/@actions/@run
      sname
      run
      sunimplementedException
      false
      sdescriptors
      xworker.lang.actions.Actions/@NOOP
      sinterpretationType
      Self
      sattributeTemplate
      false
      schildsAttributeTemplate
      false
      svarScope
      Local
      sisSynchronized
      false
      sthrowException
      true
      screateLocalVarScope
      false
      ssaveReturn
      false
      sswitchResult
      false
      sdisableGlobalContext
      false
      sdebugLog
      false
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sid
      run
      @/@actions1/@actions/@init
      sname
      init
      sunimplementedException
      false
      sdescriptors
      xworker.lang.actions.Actions/@NOOP
      sinterpretationType
      Self
      sattributeTemplate
      false
      schildsAttributeTemplate
      false
      svarScope
      Local
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      screateLocalVarScope
      false
      ssaveReturn
      false
      sswitchResult
      false
      sdisableGlobalContext
      false
      sdebugLog
      false
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_noThingRegistViewer
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sth_registQueryOnlySelf
      false
      snotXmlAttribute
      false
      sjson_isArray
      false
      sgroupDescriptor
      false
      sid
      init
      @/@actions1/@actions/@create
      sname
      create
      sunimplementedException
      false
      sdescriptors
      xworker.lang.actions.Actions/@NOOP
      sinterpretationType
      Self
      sattributeTemplate
      false
      schildsAttributeTemplate
      false
      svarScope
      Local
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      screateLocalVarScope
      false
      ssaveReturn
      false
      sswitchResult
      false
      sdisableGlobalContext
      false
      sdebugLog
      false
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_noThingRegistViewer
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sth_registQueryOnlySelf
      false
      snotXmlAttribute
      false
      sjson_isArray
      false
      sgroupDescriptor
      false
      sid
      create
