国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

PowerFolder 工作流服務器版本0.5 試駕之旅(6)

2019-11-17 06:07:38
字體:
來源:轉載
供稿:網友

Developing Scripts and Script Tags
開發腳本和腳本的標簽

 4.1 Overview概述
To create or edit existing scripts, from the PowerFolder Console click 'Develop', then 'Scripts'.
You can script by entering its name in the box next to 'New Script' and clicking 'Create'.
Remember, new and editted scripts do not take affect until they are deployed under the
'Administer' section.
為了創建腳本或編輯已存在的腳本,從PowerFolder控制臺中單擊'Develop',然后
'Scripts'。你可以在New Script旁邊的文本框中輸入腳本的名稱,單擊'Create'來創建
腳本。記住,新的和編輯的腳本不會發生作用,直到他們在'Administer'部分被發布。

Scripts consist a hierarchy of tags. Tags have names, can have PRoperties, and contain other tags.
腳本包括一系列的標簽。標簽有名字,可以有屬性,而且可以包括其他標簽。

There are two types of tags - core and returnable. Core tags represent workflow framework (e.g.
states, transitions, attributes, etc.). Returnable tags either evaluate (e.g. get an attribute's value,
add two values, get trigger text) or 'do something' (e.g. set an attribute, send an email, print to the
console).
有兩種標簽—核心標簽和可運行標簽。核心標簽表示了工作流的框架結構(例如,狀
態,轉變,屬性等等)。可運行標簽或者求值(例如,得到一個屬性的值,兩個值相加,
得到觸發器文本),或者做某些事情(例如,設置一個屬性,發送一份電子郵件,打印到
控制臺).

Core tags form the foundation of a script. 'Process Map' is at the base of this foundation, no tag
contains 'Process Map'. It contains the 'Attributes', 'Starts', 'States', and 'Stops' of the script. These
tags in turn hold other core tags. Some core tags, however, contain returnable tags. 'Execute'
needs one or more tags to evaluate or 'do something', 'If Transition' needs to evaluate whether its
path is taken, etc.
核心標簽形成了腳本的基礎。路線圖是在這個基礎之上,沒有標簽包含路線圖。路線圖包
括腳本的屬性,開始,狀態,結束。這些標簽又可以包含其它核心標簽。然而,一些核心
標簽包含可運行標簽。'Execute'標簽需要一個或多個標簽來求值或者做某些事情。'If
Transition'標簽需要計算采用那條路徑等等。

Returnable tags cannot contain core tags, but may contain other returnable tags.
可運行標簽不能包括核心標簽,但可以包含其他可運行標簽。
 4.2 Core Tags核心標簽

 4.2.1 Attribute屬性
An attribute is a variable that can be set and read from within a script and externally using the
Web Client API. It has a type. This type can be a Boolean (true or false), Decimal (a number), a
String (character data), or a java class.
屬性是一個變量,它可以在一個腳本內被設置和讀取,也可以使用web client
API來設置和讀取。它有一個類型。這個類型可以是Boolean,Decimal,String,或者一個Jav
a類 。
 4.2.2 Attributes屬性集合
Attributes, or attribute set, holds all script-specific Attributes and Interal Attributes.
屬性集合,保持了所有腳本特定屬性和內部屬性 。
 4.2.3 Branch分支
A Branch allows a workflow to go in two or more directions simultaneously.
一個分支容許一個工作流同時進入兩個或更多的方向。
 4.2.4 Default Transition默認轉換
The path a workflow will take unless it is preempted by an If Transition.
一個工作流所采用的默認路徑,除非它被IfTransition所截獲。
 4.2.5 Execute執行
Execute holds all actions that take place at a State.


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 樟树市| 玛纳斯县| 怀来县| 东城区| 密云县| 清水河县| 深圳市| 赤城县| 莱州市| 邢台县| 鄱阳县| 吉木萨尔县| 阿瓦提县| 富阳市| 达尔| 博罗县| 德惠市| 台南县| 孟州市| 于田县| 新巴尔虎右旗| 弥渡县| 沭阳县| 井研县| 札达县| 台南市| 奈曼旗| 依兰县| 新巴尔虎右旗| 庆元县| 资源县| 龙门县| 临汾市| 彭阳县| 孝感市| 临漳县| 阿拉善右旗| 临邑县| 连山| 高淳县| 双牌县|