⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jpdl-3.0.xsd

📁 workflow first jbpm
💻 XSD
📖 第 1 页 / 共 3 页
字号:
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="fork">
		<xs:annotation>
			<xs:documentation>Defines a point in the processing path where multiple execution paths will run in parallel.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="script" minOccurs="0"/>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="join">
		<xs:annotation>
			<xs:documentation>Defines a point in the processing path where multiple execution paths merge into one path.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="node">
		<xs:annotation>
			<xs:documentation>A generic node allowing custom behavior.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:choice minOccurs="0" maxOccurs="1">
					<xs:annotation>
						<xs:documentation>A custom action that represents the behaviour for this node</xs:documentation>
					</xs:annotation>
					<xs:element ref="action"/>
					<xs:element ref="script"/>
					<xs:element ref="create-timer"/>
					<xs:element ref="cancel-timer"/>
				</xs:choice>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="process-state">
		<xs:annotation>
			<xs:documentation>A node that allows execution of another subordinate process.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="sub-process">
					<xs:complexType>
						<xs:attribute name="name" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>The name of the subordinate process definition to be executed within the enclosing process.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="version" type="xs:integer" use="optional">
							<xs:annotation>
								<xs:documentation>The version of the deployed process-definition that is to be executed.  If none is specified the latest version of the identified process will be used.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="variable" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="event" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Supported event types: node-enter, node-leave, before-signal, after-signal, subprocess-created, subprocess-end.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:choice minOccurs="0" maxOccurs="unbounded">
							<xs:element ref="action"/>
							<xs:element ref="script"/>
							<xs:element ref="create-timer"/>
							<xs:element ref="cancel-timer"/>
						</xs:choice>
						<xs:attribute name="type" use="required">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="node-enter"/>
									<xs:enumeration value="node-leave"/>
									<xs:enumeration value="before-signal"/>
									<xs:enumeration value="after-signal"/>
									<xs:enumeration value="subprocess-created"/>
									<xs:enumeration value="subprocess-end"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="script">
		<xs:annotation>
			<xs:documentation>A beanshell script to execute.  The script can be the content of this tag or you can specify one or more variables and a beanshell script in the expression tag.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence minOccurs="0">
				<xs:element ref="variable" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="expression">
					<xs:annotation>
						<xs:documentation>The beanshell script.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="optional">
				<xs:annotation>
					<xs:documentation>The name of the script action.  When actions are given names, they can be looked up from the process definition.  This can be useful for runtime actions and declaring actions only once.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="accept-propagated-events" type="booleanType" use="optional" default="true">
				<xs:annotation>
					<xs:documentation>If set to false the action will only be executed on events that were fired in this action's element.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="state">
		<xs:annotation>
			<xs:documentation>Represents a wait state in a process.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:choice minOccurs="0">
					<xs:annotation>
						<xs:documentation>A custom action that represents the behaviour for this node</xs:documentation>
					</xs:annotation>
					<xs:element ref="action"/>
					<xs:element ref="script"/>
					<xs:element ref="create-timer"/>
					<xs:element ref="cancel-timer"/>
				</xs:choice>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="super-state">
		<xs:annotation>
			<xs:documentation>Grouping mechanism for a named set of nodes.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:choice minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>The nodes of the process definition.  Note that a process without nodes is valid, but cannot be executed.</xs:documentation>
					</xs:annotation>
					<xs:element ref="state"/>
					<xs:element ref="task-node"/>
					<xs:element ref="super-state"/>
					<xs:element ref="process-state"/>
					<xs:element ref="node"/>
					<xs:element ref="fork"/>
					<xs:element ref="join"/>
					<xs:element ref="decision"/>
					<xs:element ref="end-state"/>
				</xs:choice>
				<xs:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="event" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Supports all event types except the process-start and end events.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:choice minOccurs="0" maxOccurs="unbounded">
							<xs:element ref="action"/>
							<xs:element ref="script"/>
							<xs:element ref="create-timer"/>
							<xs:element ref="cancel-timer"/>
						</xs:choice>
						<xs:attribute name="type" use="required">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="node-enter"/>
									<xs:enumeration value="node-leave"/>
									<xs:enumeration value="before-signal"/>
									<xs:enumeration value="after-signal"/>
									<xs:enumeration value="superstate-enter"/>
									<xs:enumeration value="superstate-leave"/>
									<xs:enumeration value="task-create"/>
									<xs:enumeration value="task-assign"/>
									<xs:enumeration value="task-start"/>
									<xs:enumeration value="task-end"/>
									<xs:enumeration value="transition"/>
									<xs:enumeration value="timer"/>
									<xs:enumeration value="subprocess-created"/>
									<xs:enumeration value="subprocess-end"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="timer" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="swimlane">
		<xs:annotation>
			<xs:documentation>Groups tasks assigned to the same resource.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="assignment" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="name" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="task">
		<xs:annotation>
			<xs:documentation>The tasks that should be created when execution arrives in this task node.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="assignment" minOccurs="0"/>
				<xs:element name="controller" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Controller supports the inclusion of one or more "variable" tags as children.  It also supports custom XML for use with a custom controller class as indicated by config-type.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>This section can include "variable" elements to identify input and output variables involved in this task.</xs:documentation>
								</xs:annotation>
							</xs:any>
						</xs:sequence>
						<xs:attribute name="class" type="xs:string" use="optional"/>
						<xs:attribute name="config-type" type="configType" use="optional">
							<xs:annotation>
								<xs:documentation>Specifies how the assignment handler object should be constructed and how the content of this element should be used as configuration information for that object.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="event" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Supports events:  task-create, task-assign, task-start, task-end.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:choice minOccurs="0" maxOccurs="unbounded">
							<xs:element ref="action"/>
							<xs:element ref="script"/>
							<xs:element ref="create-timer"/>
							<xs:element ref="cancel-timer"/>
						</xs:choice>
						<xs:attribute name="type" use="required">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:enumeration value="task-create"/>
									<xs:enumeration value="task-start"/>
									<xs:enumeration value="task-assign"/>
									<xs:enumeration value="task-end"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="timer" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Specifies a timer that monitors the duration of an execution in this task.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:choice>
							<xs:element ref="action"/>
							<xs:element ref="script"/>
						</xs:choice>
						<xs:attribute name="name" type="xs:string" use="optional">
							<xs:annotation>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -